layouts: footer: remove hard-coded email & nicks

This commit is contained in:
Bruno BELANYI 2020-07-17 18:36:54 +02:00
parent 6cbf45acb9
commit 9e410507d1
2 changed files with 7 additions and 4 deletions

View file

@ -29,6 +29,9 @@ menu:
author: author:
name: "Bruno BELANYI" name: "Bruno BELANYI"
email: "bruno@belanyi.fr" email: "bruno@belanyi.fr"
github: "Ambroisie"
gitlab: "Ambroisie"
sourcehut: "ambroisie"
permalinks: permalinks:
posts: /:year/:month/:day/:title/ posts: /:year/:month/:day/:title/

View file

@ -8,10 +8,10 @@
<p>© {{ if isset .Site.Params "author"}}{{ .Site.Params.author }}, {{end}}{{ now.Year }}<br> <p>© {{ if isset .Site.Params "author"}}{{ .Site.Params.author }}, {{end}}{{ now.Year }}<br>
{{ i18n "powered" | humanize }} <a target="_blank" rel="noopener noreferrer" href="https://gohugo.io/">Hugo</a>, {{ i18n "theme" }} <a target="_blank" rel="noopener noreferrer" href="https://github.com/mitrichius/hugo-theme-anubis">Anubis</a>. {{ i18n "powered" | humanize }} <a target="_blank" rel="noopener noreferrer" href="https://gohugo.io/">Hugo</a>, {{ i18n "theme" }} <a target="_blank" rel="noopener noreferrer" href="https://github.com/mitrichius/hugo-theme-anubis">Anubis</a>.
</p> </p>
<a data-hint="Email" title="Email" href="mailto:bruno@belanyi.fr" rel="me"> Email </a> <a data-hint="Email" title="Email" href="mailto:{{ .Site.Author.email }}" rel="me"> Email </a>
<a data-hint="Github" title="Github" href="https://github.com/Ambroisie" target="_blank" rel="me"> Github </a> <a data-hint="Github" title="Github" href="https://github.com/{{ .Site.Author.github }}" target="_blank" rel="me"> Github </a>
<a data-hint="GitLab" title="GitLab" href="https://gitlab.com/Ambroisie" target="_blank" rel="me"> GitLab </a> <a data-hint="GitLab" title="GitLab" href="https://gitlab.com/{{ .Site.Author.gitlab }}" target="_blank" rel="me"> GitLab </a>
<a data-hint="Sourcehut" title="Sourcehut" href="https://sr.ht/~ambroisie/" target="_blank" rel="me"> Sourcehut </a> <a data-hint="Sourcehut" title="Sourcehut" href="https://sr.ht/~{{ .Site.Author.sourcehut }}" target="_blank" rel="me"> Sourcehut </a>
<link rel="authorization_endpoint" href="https://indieauth.com/auth"> <link rel="authorization_endpoint" href="https://indieauth.com/auth">
</div> </div>