diff --git a/hugo_config/_default/theme_settings.toml b/hugo_config/_default/theme_settings.toml index f98c77c..796f715 100644 --- a/hugo_config/_default/theme_settings.toml +++ b/hugo_config/_default/theme_settings.toml @@ -3,8 +3,6 @@ background_color_class = "bg-green" [[params.ananke_socials]] name = "facebook" - "Lien du compte" = "https://www.facebook.com/maxime.garnier1337" [[params.ananke_socials]] name = "linkedin" - "Lien du compte" = "https://www.linkedin.com/in/maxime-garnier-/" diff --git a/static/admin/config.yml b/static/admin/config.yml index 3b0c0ae..729350e 100644 --- a/static/admin/config.yml +++ b/static/admin/config.yml @@ -47,6 +47,11 @@ collections: name: params widget: object fields: + - name: site_logo + label: "Logo du site" + widget: image + hint: "Changer le logo qui apparaît en haut à gauche sur toutes les pages du site" + choose_url: true - label: Couleur du fond name: background_color_class widget: select @@ -66,19 +71,19 @@ collections: name: ananke_socials widget: list collapsed: true - summary: '{{fields.name}}' + summary: '{{fields.name | upper}}' add_to_top: false label_singular: 'Réseau' fields: - - label: 'Réseau social' - name: name + - name: name + label: 'Réseau social' widget: select options: - label: 'Facebook' value: 'facebook' - label: 'LinkedIn' value: 'linkedin' - - label: 'Lien du compte' - name: url + - name: url + label: 'Lien du compte' widget: string