mirror of
https://github.com/thegeeklab/hugo-geekdoc.git
synced 2024-11-24 05:40:39 +00:00
29 lines
1.3 KiB
HTML
29 lines
1.3 KiB
HTML
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<meta name="description" content="{{ partial "title" . }}">
|
|
|
|
<title>{{ partial "title" . }} | {{ .Site.Title -}}</title>
|
|
<link rel="icon" href="{{ "favicon/favicon-32x32.png" | relURL }}" type="image/x-icon">
|
|
|
|
<link rel="stylesheet" href="{{ "main.min.css" | relURL }}">
|
|
<!-- Theme stylesheet, you can customize css by creating static/custom.css` in your website -->
|
|
<link rel="stylesheet" href="{{ .Site.BaseURL }}/custom.css">
|
|
|
|
{{ if default true .Site.Params.GeekdocSearch }}
|
|
{{ .Scratch.Set "geekdocSearchConfig" .Site.Params.GeekdocSearchConfig }}
|
|
<!-- Remove after https://github.com/gohugoio/hugo/issues/6331 -->
|
|
{{ $searchJSFile := printf "js/%s.search.js" .Language.Lang }}
|
|
{{ $searchJS := resources.Get "js/search.js" | resources.ExecuteAsTemplate $searchJSFile . | resources.Minify }}
|
|
<script defer src="{{ $searchJS.RelPermalink }}"></script>
|
|
{{ end }}
|
|
|
|
<!-- RSS -->
|
|
{{ with .OutputFormats.Get "rss" -}}
|
|
{{ printf `<link rel="%s" type="%s" href="%s" title="%s" />` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML }}
|
|
{{ end -}}
|
|
|
|
{{ "<!--" | safeHTML }}
|
|
Made with Geekdoc theme
|
|
https://github.com/xoxys/hugo-geekdoc
|
|
{{ "-->" | safeHTML }}
|