diff options
| author | leiyu3 <s444814187@gmail.com> | 2025-07-17 11:47:55 -0400 |
|---|---|---|
| committer | leiyu3 <s444814187@gmail.com> | 2025-07-17 11:47:55 -0400 |
| commit | 6758a1a26de82a6dc3661db880513cba75f01110 (patch) | |
| tree | caf67546bd0113f434ca3ae65b4bc9b854b2878e /layouts/partials/head.html | |
| download | letsworship-6758a1a26de82a6dc3661db880513cba75f01110.tar.gz letsworship-6758a1a26de82a6dc3661db880513cba75f01110.zip | |
init commit
Diffstat (limited to 'layouts/partials/head.html')
| -rw-r--r-- | layouts/partials/head.html | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/layouts/partials/head.html b/layouts/partials/head.html new file mode 100644 index 0000000..60b1dc2 --- /dev/null +++ b/layouts/partials/head.html | |||
| @@ -0,0 +1,25 @@ | |||
| 1 | <meta charset="utf-8"> | ||
| 2 | <meta name="viewport" content="width=device-width"> | ||
| 3 | |||
| 4 | {{- if .IsHome -}} | ||
| 5 | <meta name="description" content="{{ site.Params.Description }}" /> | ||
| 6 | {{- else -}} | ||
| 7 | <meta name="description" content="{{ .Params.Description }}" /> | ||
| 8 | {{- end }} | ||
| 9 | |||
| 10 | <meta property="og:type" content="website"> | ||
| 11 | |||
| 12 | <title> | ||
| 13 | {{ if .IsHome}} | ||
| 14 | {{ site.Title }} | ||
| 15 | {{ else }} | ||
| 16 | {{ printf "%s | %s" .Title site.Title }} | ||
| 17 | {{ end }} | ||
| 18 | </title> | ||
| 19 | |||
| 20 | {{ partialCached "head/css.html" . }} | ||
| 21 | {{ partialCached "head/js.html" . }} | ||
| 22 | |||
| 23 | {{ if hugo.IsProduction }} | ||
| 24 | {{ template "_internal/google_analytics.html" . }} | ||
| 25 | {{ end }} \ No newline at end of file | ||
