hugo-theme-anubis2/layouts/partials/head.html

32 lines
1.3 KiB
HTML
Raw Normal View History

2020-01-12 07:51:51 +01:00
<!-- Basic stuff -->
<meta charset="utf-8">
<meta name="HandheldFriendly" content="True">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="referrer" content="no-referrer-when-downgrade">
2020-02-15 21:24:01 +01:00
<title>{{ if .Title }}{{ .Title }} - {{ end }}{{ .Site.Title }}</title>
2020-01-12 07:51:51 +01:00
<meta name="description" content="{{ .Site.Params.Description }}">
2020-02-15 21:34:25 +01:00
<link rel="alternate" type="application/rss+xml" title="RSS" href="{{ "rss/" | absURL }}">
2020-01-12 07:51:51 +01:00
2020-02-15 21:34:25 +01:00
<link rel="icon" type="image/x-icon" href="{{ "favicon.ico" | absURL }}">
<link rel="apple-touch-icon-precomposed" href="{{ "favicon.png" | absURL }}">
2020-01-12 07:51:51 +01:00
2020-02-15 21:34:25 +01:00
<link rel="stylesheet" href="{{ "css/style.css" | absURL }}?rnd={{ now.Unix }}" />
2020-01-12 07:51:51 +01:00
{{ range .Site.Params.customCSS -}}
<link rel="stylesheet" href="{{ . | absURL }}?rnd={{ now.Unix }}">
{{- end }}
2020-01-23 21:29:36 +01:00
{{ template "_internal/opengraph.html" . }}
2020-01-23 21:55:42 +01:00
{{ template "_internal/twitter_cards.html" . }}
2020-01-12 07:51:51 +01:00
<!-- Article tags -->
<!-- <meta property="article:published_time" content="">
<meta property="article:modified_time" content="">
<meta property="article:tag" content="">
<meta property="article:publisher" content="https://www.facebook.com/XXX"> -->
2020-01-23 21:55:42 +01:00
2020-01-22 18:51:35 +01:00
{{ if eq (getenv "HUGO_ENV") "production" | or (eq .Site.Params.env "production") }}
{{ template "_internal/google_analytics_async.html" . }}
{{ end }}