From ba338bc9df52e82b9cffb7763b1f1c4135057dad Mon Sep 17 00:00:00 2001 From: Ad5001 Date: Mon, 2 Aug 2021 23:16:22 +0200 Subject: [PATCH] Moving social menu to data file. --- config.yaml | 52 -------------------------------------------------- data/menu.yaml | 23 ++++++++++++++++++++++ 2 files changed, 23 insertions(+), 52 deletions(-) create mode 100644 data/menu.yaml diff --git a/config.yaml b/config.yaml index 8d05255..d0a5832 100644 --- a/config.yaml +++ b/config.yaml @@ -33,32 +33,6 @@ languages: title: about section url: /about weight: 0 - social: - - identifier: mastodon - name: Mastodon - pre: - title: mastodon social icon - url: https://mastodon.technology/@Ad5001 - - identifier: twitter - name: Twitter - pre: - title: twitter social icon - url: https://twitter.com/Ad5001P4F - - identifier: gitea - name: Gitea - pre: - title: gitea social icon - url: https://git.ad5001.eu/Ad5001 - - identifier: github - name: Github - pre: - title: github social icon - url: https://github.com/Ad5001 - - identifier: mail - name: Mail - pre: - title: mail icon - url: "" # Filled with JS to avoid spam. weight: 0 fr: languageName: Français @@ -82,32 +56,6 @@ languages: title: about section url: /fr/a-propos weight: 0 - social: - - identifier: mastodon - name: Mastodon - pre: - title: mastodon social icon - url: https://mastodon.technology/@Ad5001 - - identifier: twitter - name: Twitter - pre: - title: twitter social icon - url: https://twitter.com/Ad5001P4F - - identifier: gitea - name: Gitea - pre: - title: gitea social icon - url: https://git.ad5001.eu/Ad5001 - - identifier: github - name: Github - pre: - title: github social icon - url: https://github.com/Ad5001 - - identifier: mail - name: Mail - pre: - title: mail icon - url: "" # Filled with JS to avoid spam. weight: 0 markup: diff --git a/data/menu.yaml b/data/menu.yaml new file mode 100644 index 0000000..2904bd5 --- /dev/null +++ b/data/menu.yaml @@ -0,0 +1,23 @@ +social: +- name: Mastodon + icon: mastodon + URL: https://mastodon.technology/@Ad5001 +- name: Twitter + icon: twitter + URL: https://twitter.com/Ad5001P4F +- name: Gitea + icon: git + URL: https://git.ad5001.eu/Ad5001 +- name: Github + icon: github + URL: https://github.com/Ad5001 +- name: Stackoverflow + icon: stackoverflow + URL: https://stackoverflow.com/users/7520341/ad5001 +- name: Firefox Addon Developer + icon: firefox + URL: https://addons.mozilla.org//firefox/user/12994006/ +- identifier: mail + name: Mail + icon: mail + URL: "" # Filled with JS to avoid spam.