diff options
Diffstat (limited to 'themes/researcher/layouts/partials/head.html')
-rw-r--r-- | themes/researcher/layouts/partials/head.html | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/themes/researcher/layouts/partials/head.html b/themes/researcher/layouts/partials/head.html new file mode 100644 index 0000000..df307bb --- /dev/null +++ b/themes/researcher/layouts/partials/head.html @@ -0,0 +1,27 @@ +<head> + <meta charset="utf-8"> + <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> + + <title>{{ .Title }}</title> + <meta name="description" content="{{ .Site.Params.description }}"> + <meta name="author" content='{{ .Site.Params.author }}'> + + <link href="https://fonts.googleapis.com/css2?family=Inconsolata:wght@400;700&display=swap" rel="stylesheet"> + <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@4.5.3/dist/css/bootstrap.min.css" integrity="sha384-TX8t27EcRE3e/ihU7zmQxVncDAy5uIKz4rEkgIXeMed4M0jlfIDPvg6uqKI2xXr2" crossorigin="anonymous"> + <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.3/css/all.min.css" integrity="sha512-iBBXm8fW90+nuLcSKlbmrPcLa0OT92xO1BIsZ+ywDWZCvqsWgccV3gFoRBv0z+8dLJgyAHIhR35VZc2oM/gI1w==" crossorigin="anonymous"> + + {{ $style := resources.Get "sass/researcher.scss" | resources.ExecuteAsTemplate "sass/researcher.scss" . | toCSS | minify }} + <link rel="stylesheet" href="{{ $style.RelPermalink }}"> + + {{ with .Site.Params.favicon }} + <link rel="icon" type="image/ico" href="{{ . | absURL }}"> + {{ end }} + + {{ with .OutputFormats.Get "rss" -}} + {{ printf `<link rel="%s" type="%s" href="%s" title="%s" />` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML }} + {{ end -}} + + {{ if not .Site.IsServer }} + {{ template "_internal/google_analytics.html" . }} + {{ end }} +</head> |