diff --git a/layouts/partials/head.html b/layouts/partials/head.html index a608ba7..5c8d661 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -1,6 +1,7 @@ {{ $config := cond (eq $.Site.Language.Lang "en") "config" (printf "config.%s" $.Site.Language.Lang) }} {{ $data := index $.Site.Data $config }} +{{.Site.BaseURL}}icon.png
@@ -8,6 +9,23 @@ name="description" content="{{if .IsHome}}{{$data.description | default $.Site.Data.config.description}}{{else}}{{.Summary}}{{end}}" /> + + + + + + + + + + + {{ range $data.links }} + {{ if strings.Contains .link "twitter.com" }} + {{ $twitter_handle := index (split .link "/") (sub (len (split .link "/")) 1) }} + + {{ end }} + {{ end }} +