Prepare Mastodon profile setup
continuous-integration/drone/push Build is failing Details

This commit is contained in:
Luca 2022-07-09 21:02:58 +02:00
parent d4ec74c430
commit 0b3aa87afd
3 changed files with 3 additions and 1 deletions

View File

@ -16,6 +16,8 @@ title = 'Intergalaktische Erfahrungsreise'
name = "Mastodon" name = "Mastodon"
url = "https://chaos.social/@erfahrungsreise" url = "https://chaos.social/@erfahrungsreise"
weight = 20 weight = 20
[menu.footer.params]
rel = "me"
[[menu.footer]] [[menu.footer]]
name = "Twitter" name = "Twitter"
url = "https://twitter.com/erfahrungsreise" url = "https://twitter.com/erfahrungsreise"

View File

@ -37,7 +37,7 @@
<footer> <footer>
<nav> <nav>
{{ range .Site.Menus.footer }} {{ range .Site.Menus.footer }}
<a{{ if or ($currentPage.IsMenuCurrent "footer" .) ($currentPage.HasMenuCurrent "footer" .) }} class="is-active"{{ end }} href="{{ .URL }}"{{ if hasPrefix .URL "https://" }} target="_blank"{{ end }}>{{ .Name }}</a> <a{{ if or ($currentPage.IsMenuCurrent "footer" .) ($currentPage.HasMenuCurrent "footer" .) }} class="is-active"{{ end }} href="{{ .URL }}"{{ with .Params.rel }} rel="{{ . }}"{{ end }}{{ if hasPrefix .URL "https://" }} target="_blank"{{ end }}>{{ .Name }}</a>
{{ end }} {{ end }}
</nav> </nav>
</footer> </footer>

BIN
static/icon400.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB