🍱 Add support for more social icons

This commit is contained in:
James Panther
2021-08-13 16:35:32 +10:00
parent 478ec87dab
commit d0ddf5f8c5
30 changed files with 78 additions and 57 deletions
+5 -5
View File
@@ -54,11 +54,11 @@
{{ hugo.Generator }}
{{/* Me */}}
{{ with .Site.Author.name }}<meta name="author" content="{{ . }}" />{{ end }}
{{ with .Site.Author.email }}<link href="mailto:{{ . }}" rel="me" />{{ end }}
{{ with .Site.Author.twitter }}<link href="{{ . }}" rel="me" />{{ end }}
{{ with .Site.Author.keybase }}<link href="{{ . }}" rel="me" />{{ end }}
{{ with .Site.Author.github }}<link href="{{ . }}" rel="me" />{{ end }}
{{ with .Site.Author.linkedin }}<link href="{{ . }}" rel="me" />{{ end }}
{{ with .Site.Author.links }}
{{ range $links := . }}
{{ range $name, $url := $links }}<link href="{{ $url }}" rel="me" />{{ end }}
{{ end }}
{{ end }}
{{/* Analytics */}}
{{ partialCached "analytics.html" .Site }}
{{/* Extend head - eg. for custom analytics scripts, etc. */}}