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.

header.html 880 B

6 years ago
6 years ago
6 years ago
1234567891011121314151617181920212223
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <title>{{- partial "data/title" . -}}</title>
  5. {{ hugo.Generator }}
  6. <meta name=viewport content="width=device-width, initial-scale=1">
  7. <meta charset=utf-8>
  8. <link rel=stylesheet href="{{ relURL "/css/main.css?5" }}">
  9. <link rel=alternate type=application/rss+xml title="{{ partial "data/title" . }}"
  10. href="{{ with .OutputFormats.Get "RSS" }}{{ .RelPermalink }}{{ end }}">
  11. {{- template "_internal/opengraph.html" . -}}
  12. {{ with .Params.image }}
  13. <meta name="og:image" content="{{ "/images/" | absURL }}{{ .}}">
  14. {{ end }}
  15. {{- with .Site.Params.twitter -}}
  16. <meta name="twitter:site" content="@{{ . }}">
  17. {{- end -}}
  18. {{ if not .Page.Params.via }}
  19. <meta name="twitter:creator" content="@{{ .Site.Params.twitter }}">
  20. {{ end }}
  21. {{- partial "twitter_cards" . -}}
  22. </head>
  23. <body>