Radish alpha
h
Radicle Heartwood Protocol & Stack
Radicle
Git (anonymous pull)
Log in to clone via SSH
node: Change node web config metadata fields
Rūdolfs Ošiņš committed 1 year ago
commit a831e18a72107abfbf11d2ba3c12f8467a345009
parent 4a497fa66f8293c81bc7cb2b10f4653ad7f9f7df
1 file changed +4 -4
modified radicle/src/web.rs
@@ -10,12 +10,12 @@ use crate::prelude::RepoId;
pub struct Config {
    /// Pinned content.
    pub pinned: Pinned,
-
    /// URL pointing to an image for the node.
+
    /// URL pointing to an image used in the header of a node page.
    #[serde(default, skip_serializing_if = "Option::is_none")]
-
    pub image_url: Option<String>,
-
    /// Node name.
+
    pub banner_url: Option<String>,
+
    /// URL pointing to an image used as the node avatar.
    #[serde(default, skip_serializing_if = "Option::is_none")]
-
    pub name: Option<String>,
+
    pub avatar_url: Option<String>,
    /// Node description.
    #[serde(default, skip_serializing_if = "Option::is_none")]
    pub description: Option<String>,