diff options
author | amzrk2 | 2020-04-13 19:13:39 +0800 |
---|---|---|
committer | amzrk2 | 2020-04-13 19:13:39 +0800 |
commit | 6bdd1c4c0ea567c45fdecb1e858a99ee5da246ad (patch) | |
tree | b13e4c3a49823b602ebb918c899dd4a964c1f445 /layouts/partials/head.html | |
download | hugo-theme-fuji-6bdd1c4c0ea567c45fdecb1e858a99ee5da246ad.tar.gz hugo-theme-fuji-6bdd1c4c0ea567c45fdecb1e858a99ee5da246ad.tar.bz2 hugo-theme-fuji-6bdd1c4c0ea567c45fdecb1e858a99ee5da246ad.zip |
Initial commit
Diffstat (limited to 'layouts/partials/head.html')
-rw-r--r-- | layouts/partials/head.html | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/layouts/partials/head.html b/layouts/partials/head.html new file mode 100644 index 0000000..8d035ce --- /dev/null +++ b/layouts/partials/head.html @@ -0,0 +1,23 @@ +<meta charset="utf-8"> +<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> +<meta name="HandheldFriendly" content="True" /> +<meta http-equiv="X-UA-Compatible" content="IE=edge" /> +<meta http-equiv="Cache-Control" content="no-transform"> +<meta http-equiv="Cache-Control" content="no-siteapp"> +{{ hugo.Generator }} +{{ partial "favicon.html" . }} + +{{ if .IsHome }} +<title>{{ .Site.Title }} - {{ .Site.Params.subTitle }}</title> +{{ else }} +<title>{{ .Title }} - {{ .Site.Title }}</title> +{{ end }} + +{{ $sass := resources.Get "sass/main.scss" }} +{{ $style := $sass | resources.ToCSS }} +<link rel="stylesheet" href="{{ $style.Permalink }}"> +<script src="{{ .Site.Params.cdnVanillaLazyloadJS }}"></script> + +{{ if or .Params.math .Site.Params.math }} +{{ partial "math.html" . }} +{{ end }}
\ No newline at end of file |