fix mastodon link

This commit is contained in:
Cyryl Płotnicki 2022-11-26 22:37:46 +00:00
parent a34145b912
commit 0154015497
2 changed files with 46 additions and 45 deletions

View file

@ -70,4 +70,4 @@ github = "cyplo"
gitlab = "cyplo" gitlab = "cyplo"
twitter = "cyplo" twitter = "cyplo"
linkedin = "cyplo" linkedin = "cyplo"
mastodon = "todon.nl/@cyplo" mastodon = "peninsula.industries/@cyplo"

View file

@ -1,49 +1,49 @@
{{ if eq .Type "page" }} {{ if eq .Type "page" }}
{{ partial "page_meta.html" . }} {{ partial "page_meta.html" . }}
{{ end }} {{ end }}
<footer> <footer>
<div class="container"> <div class="container">
<div class="row"> <div class="row">
<div class="col-lg-8 col-lg-offset-2 col-md-10 col-md-offset-1"> <div class="col-lg-8 col-lg-offset-2 col-md-10 col-md-offset-1">
<ul class="list-inline text-center footer-links"> <ul class="list-inline text-center footer-links">
{{ range .Site.Data.beautifulhugo.social.social_icons }} {{ range .Site.Data.beautifulhugo.social.social_icons }}
{{- if isset $.Site.Author .id }} {{- if isset $.Site.Author .id }}
<li> <li>
<a href="{{ printf .url (index $.Site.Author .id) }}" title="{{ .title }}"> <a {{ if .rel }}rel="{{ .rel }}"{{- end -}} href="{{ printf .url (index $.Site.Author .id) }}" title="{{ .title }}">
<span class="fa-stack fa-lg"> <span class="fa-stack fa-lg">
<i class="fas fa-circle fa-stack-2x"></i> <i class="fas fa-circle fa-stack-2x"></i>
<i class="{{ .icon }} fa-stack-1x fa-inverse"></i> <i class="{{ .icon }} fa-stack-1x fa-inverse"></i>
</span> </span>
</a> </a>
</li> </li>
{{- end -}} {{- end -}}
{{ end }} {{ end }}
{{ if .Site.Params.rss }} {{ if .Site.Params.rss }}
<li> <li>
<a href="{{ with .OutputFormats.Get "RSS" }}{{ .RelPermalink }}{{ end }}" title="RSS"> <a href="{{ with .OutputFormats.Get "RSS" }}{{ .RelPermalink }}{{ end }}" title="RSS">
<span class="fa-stack fa-lg"> <span class="fa-stack fa-lg">
<i class="fas fa-circle fa-stack-2x"></i> <i class="fas fa-circle fa-stack-2x"></i>
<i class="fas fa-rss fa-stack-1x fa-inverse"></i> <i class="fas fa-rss fa-stack-1x fa-inverse"></i>
</span> </span>
</a> </a>
</li> </li>
{{ end }} {{ end }}
</ul> </ul>
<p class="credits copyright text-muted"> <p class="credits copyright text-muted">
{{ if .Site.Author.name }} {{ if .Site.Author.name }}
{{ if .Site.Author.website }} {{ if .Site.Author.website }}
<a href="{{ .Site.Author.website }}">{{ .Site.Author.name }}</a> <a href="{{ .Site.Author.website }}">{{ .Site.Author.name }}</a>
{{ else }} {{ else }}
{{ .Site.Author.name }} {{ .Site.Author.name }}
{{ end }} {{ end }}
{{ end }} {{ end }}
&nbsp;&bull;&nbsp;&copy; &nbsp;&bull;&nbsp;&copy;
{{ if .Site.Params.since }} {{ if .Site.Params.since }}
{{ .Site.Params.since }} - {{ .Site.LastChange.Format "2006" }} {{ .Site.Params.since }} - {{ .Site.LastChange.Format "2006" }}
{{ else }} {{ else }}
{{ .Site.LastChange.Format "2006" }} {{ .Site.LastChange.Format "2006" }}
{{ end }} {{ end }}
{{ if .Site.Title }} {{ if .Site.Title }}
&nbsp;&bull;&nbsp; &nbsp;&bull;&nbsp;
@ -59,6 +59,7 @@
</div> </div>
</div> </div>
</div> </div>
</div>
</footer> </footer>
<script src="{{ "js/katex.min.js" | absURL }}"></script> <script src="{{ "js/katex.min.js" | absURL }}"></script>