Add Mastodon, and tweak socials to include rel=me

attemptAtTagsRenovation
Jack Jackson 1 year ago
parent d87f7efdb8
commit ead2e47622
  1. 1
      blog/config.toml
  2. 13
      blog/layouts/partials/social-follow.html

@ -16,6 +16,7 @@ SectionPagesMenu = "main"
twitter = "https://twitter.com/jacksquaredson"
github = "https://github.com/scubbo"
linkedin = "https://www.linkedin.com/in/jack-jackson-14a47441/"
mastodon = "https://fosstodon.org/@scubbo"
custom_css = ['inlinespoiler.css']
show_reading_time = true
page_source_base = "https://gitea.scubbo.org/scubbo/blogContent/src/branch/main/blog/"

@ -0,0 +1,13 @@
{{ $socials := partialCached "func/socials/Get" "socials/Get" }}
<div class="ananke-socials">
{{ range $socials }}
<a href="{{ .url }}" target="_blank" class="{{ .name }} ananke-social-link link-transition stackoverflow link dib z-999 pt3 pt0-l mr1" title="{{ .label }} link" rel="noopener me" aria-label="follow on {{ .label }}——Opens in a new window">
{{ with .icon }}
<span class="icon">{{ . }}</span>
{{ else }}
{{ .label }}
{{ end }}
{{- partial "new-window-icon.html" . -}}
</a>
{{ end }}
</div>
Loading…
Cancel
Save