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.

25 lines
897 B

  1. <!DOCTYPE html>
  2. <html lang=en>
  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. }}"> */}}
  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. {{- partial "twitter_cards" . -}}
  23. </head>
  24. <body>