Hugo theme.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

36 lines
1.2 KiB

  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <title>{{- partial "data/title" . -}}</title>
  5. {{ .Hugo.Generator }}
  6. {{ "<!-- Tumble theme for Hugo: https://github.com/adrianshort/tumble -->" | safeHTML }}
  7. <meta name="viewport" content="width=device-width, initial-scale=1">
  8. <meta charset="utf-8">
  9. <link rel="stylesheet" href="{{ relURL "/css/main.css?4" }}">
  10. <link rel="alternate" type="application/rss+xml" title="{{ partial "data/title" . }}"
  11. href="{{ .RSSLink }}">
  12. {{- template "_internal/opengraph.html" . -}}
  13. {{ with .Params.image }}
  14. <meta name="og:image" content="{{ "/images/" | absURL }}{{ .}}">
  15. {{ end }}
  16. {{- with .Site.Params.twitter -}}
  17. <meta name="twitter:site" content="@{{ . }}">
  18. {{- end -}}
  19. {{ if not .Page.Params.via }}
  20. <meta name="twitter:creator" content="@{{ .Site.Params.twitter }}">
  21. {{ end }}
  22. {{- template "_internal/twitter_cards.html" -}}
  23. </head>
  24. <body>
  25. <header>
  26. <!-- <h1 id="site-title"><a href="{{ relURL "/" }}">{{ .Site.Title }}</a></h1> -->
  27. <div id="site-social">
  28. {{ range .Site.Params.social}}
  29. <a href="{{ .url }}" title="{{ .title }}">
  30. <i class="fa {{ .fa_icon }}"></i>
  31. </a>
  32. {{ end }}
  33. </div>
  34. </header>