Moving social menu to data file.

This commit is contained in:
Adsooi 2021-08-02 23:16:22 +02:00
parent d0179d1dd0
commit ba338bc9df
No known key found for this signature in database
GPG key ID: 9C87C7D3A69E6BBE
2 changed files with 23 additions and 52 deletions

View file

@ -33,32 +33,6 @@ languages:
title: about section
url: /about
weight: 0
social:
- identifier: mastodon
name: Mastodon
pre: <i class="icon-mastodon" alt="Mastodon icon"></i>
title: mastodon social icon
url: https://mastodon.technology/@Ad5001
- identifier: twitter
name: Twitter
pre: <i class="icon-twitter" alt="Twitter icon"></i>
title: twitter social icon
url: https://twitter.com/Ad5001P4F
- identifier: gitea
name: Gitea
pre: <i class="icon-git" alt="Gitea icon"></i>
title: gitea social icon
url: https://git.ad5001.eu/Ad5001
- identifier: github
name: Github
pre: <i class="icon-github" alt="Github icon"></i>
title: github social icon
url: https://github.com/Ad5001
- identifier: mail
name: Mail
pre: <i class="icon-mail" alt="Mail icon"></i>
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: <i class="icon-mastodon" alt="Mastodon icon"></i>
title: mastodon social icon
url: https://mastodon.technology/@Ad5001
- identifier: twitter
name: Twitter
pre: <i class="icon-twitter" alt="Twitter icon"></i>
title: twitter social icon
url: https://twitter.com/Ad5001P4F
- identifier: gitea
name: Gitea
pre: <i class="icon-git" alt="Gitea icon"></i>
title: gitea social icon
url: https://git.ad5001.eu/Ad5001
- identifier: github
name: Github
pre: <i class="icon-github" alt="Github icon"></i>
title: github social icon
url: https://github.com/Ad5001
- identifier: mail
name: Mail
pre: <i class="icon-mail" alt="Mail icon"></i>
title: mail icon
url: "" # Filled with JS to avoid spam.
weight: 0
markup:

23
data/menu.yaml Normal file
View file

@ -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/<lang>/firefox/user/12994006/
- identifier: mail
name: Mail
icon: mail
URL: "" # Filled with JS to avoid spam.