2022-04-27 13:54:00 +00:00
|
|
|
<meta charset="utf-8">
|
|
|
|
<meta name="viewport" content="width=device-width,minimum-scale=1">
|
|
|
|
|
2022-05-13 12:12:07 +00:00
|
|
|
{{ range .AlternativeOutputFormats -}}
|
|
|
|
{{ printf `<link rel="%s" type="%s" href="%s" title="%s" />` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML }}
|
|
|
|
{{ end -}}
|
|
|
|
|
2022-04-27 13:54:00 +00:00
|
|
|
{{/* load mermaid if any mermaid code block */}}
|
|
|
|
{{ if .Page.Store.Get "hasMermaid" }}
|
2022-09-04 11:11:04 +00:00
|
|
|
<script src="{{ "js/meraid-9.0.0.min.js" | relURL }}"></script>
|
2022-05-13 12:12:07 +00:00
|
|
|
<script>mermaid.initialize({ startOnLoad: true });</script>
|
2022-04-27 13:54:00 +00:00
|
|
|
{{ end }}
|
|
|
|
|
2022-05-18 13:13:49 +00:00
|
|
|
{{ with and .Site.Params.remark42 .Params.show_comments }}
|
2022-05-18 14:44:17 +00:00
|
|
|
{{ $remark42 := $.Site.Params.remark42 }}
|
2022-04-27 13:54:00 +00:00
|
|
|
<script>
|
|
|
|
var remark_config = {
|
2022-05-18 14:44:17 +00:00
|
|
|
host: '{{ $remark42.host }}',
|
2022-07-21 11:20:16 +00:00
|
|
|
site_id: '{{ $remark42.site_id }}',
|
2022-04-27 13:54:00 +00:00
|
|
|
components: ['embed', 'last-comments'],
|
2022-05-18 14:44:17 +00:00
|
|
|
max_shown_comments: {{ $remark42.max_shown_comments }},
|
|
|
|
theme: '{{ $remark42.theme }}',
|
|
|
|
page_title: '{{ $remark42.Title }}',
|
|
|
|
locale: '{{ $remark42.locale }}',
|
|
|
|
show_email_subscription: {{ $remark42.show_email_subscription }},
|
|
|
|
simple_view: {{ $remark42.simple_view }}
|
2022-04-27 13:54:00 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
!function(e,n){for(var o=0;o<e.length;o++){var r=n.createElement("script"),c=".js",d=n.head||n.body;"noModule"in r?(r.type="module",c=".mjs"):r.async=!0,r.defer=!0,r.src=remark_config.host+"/web/"+e[o]+c,d.appendChild(r)}}(remark_config.components||["embed"],document);
|
|
|
|
</script>
|
|
|
|
{{ end }}
|
|
|
|
|
2022-09-04 11:11:04 +00:00
|
|
|
<link rel="stylesheet" href="{{ "lib/icofont/icofont.min.css" | relURL }}" />
|
|
|
|
<link rel="stylesheet" href="{{ "css/syntax.css" | relURL }}" />
|
|
|
|
<link rel="stylesheet" href="{{ "css/style.css" | relURL }}" />
|
|
|
|
<link rel="shortcut icon" href="{{ "images/favicon.ico" | relURL }}" type="image/x-icon" />
|