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
1004 B

  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 href="https://fonts.googleapis.com/css2?family=PT+Serif:ital,wght@0,400;0,700;1,400&display=swap" rel=stylesheet>
  9. <link rel=stylesheet href="{{ relURL "/css/main.css?4" }}">
  10. <link rel=alternate type=application/rss+xml title="{{ partial "data/title" . }}"
  11. href="{{ with .OutputFormats.Get "RSS" }}{{ .RelPermalink }}{{ end }}">
  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>