Browse Source

Modified the footer

Signed-off-by: Blagovest Petrov <blagovest@petrovs.info>
pull/1/head
Blagovest Petrov 4 years ago
parent
commit
1680716390
  1. 16
      layouts/partials/copyright.html
  2. 9
      layouts/partials/footer.html

16
layouts/partials/copyright.html

@ -1,15 +1,3 @@
{{ with .Site.Params.Copyright.Prefix }}
{{ . | markdownify }} |
{{end}}
&copy;
{{ with .Site.Params.copyright.url }}<a href="{{ . }}" target="_blank">{{ end }}
{{ .Site.Params.copyright.name }}
{{ with .Site.Params.copyright.url }}</a>{{ end }}
<span id="thisyear">2020</span>
{{ with .Site.Params.Copyright.Suffix }}
| {{ . | markdownify }}
{{end}}
{{ if isset .Site.Params "showhugo" }}
| {{ i18n "builton" }} <a href="//gohugo.io" target="_blank">Hugo</a>
{{ end }}
&copy; <span id="thisyear">2020</span>
<a href="/copyrights/">Site Copyrights</a>

9
layouts/partials/footer.html

@ -4,11 +4,10 @@
{{- partial "copyright.html" . -}}
</p>
<p class="text-center">
{{ with .Site.Params.facebook }}<a href="{{ . }}">Facebook</a> {{ end }}
{{ with .Site.Params.twitter }}<a href="{{ . }}">Twitter</a> {{ end }}
{{ with .Site.Params.linkedin }}<a href="{{ . }}">Linkedin</a> {{ end }}
{{ with .Site.Params.github }}<a href="{{ . }}">GitHub</a> {{ end }}
{{ with .Site.Params.gitlab }}<a href="{{ . }}">GitLab</a>{{ end }}
<a href="https://social.petrovs.info/@blagovest">Mastodon</a>
<a href="https://www.linkedin.com/in/blpetrov/">Linkedin</a>
<a href="https://github.com/eniac111">GitHub</a>
<a href="https://code.petrovs.info/explore/repos">Code</a>
</p>
</footer>

Loading…
Cancel
Save