bundle noscript style

This commit is contained in:
Wonderfall 2022-07-31 01:37:00 +02:00
parent 18b691c534
commit b01e9a8653
2 changed files with 19 additions and 0 deletions

View File

@ -0,0 +1,8 @@
#theme-toggle,
.top-link {
display: none;
}
#searchInput {
display: none;
}

View File

@ -68,6 +68,17 @@
<link crossorigin="anonymous" href="{{ $stylesheet.RelPermalink }}" rel="preload stylesheet" as="style"> <link crossorigin="anonymous" href="{{ $stylesheet.RelPermalink }}" rel="preload stylesheet" as="style">
{{- end }} {{- end }}
{{- /* noscript */}}
<noscript>
{{- $noscript := (resources.Get "css/includes/noscript.css") }}
{{- if not site.Params.assets.disableFingerprinting }}
{{- $noscript := $noscript | fingerprint }}
<link crossorigin="anonymous" href="{{ $noscript.RelPermalink }}" integrity="{{ $noscript.Data.Integrity }}" rel="preload stylesheet" as="style">
{{- else }}
<link crossorigin="anonymous" href="{{ $noscript.RelPermalink }}" rel="preload stylesheet" as="style">
{{- end }}
</noscript>
{{- /* Favicons */}} {{- /* Favicons */}}
<link rel="icon" href="{{ site.Params.assets.favicon | default "favicon.ico" | absURL }}"> <link rel="icon" href="{{ site.Params.assets.favicon | default "favicon.ico" | absURL }}">
<link rel="icon" type="image/png" sizes="16x16" href="{{ site.Params.assets.favicon16x16 | default "favicon-16x16.png" | absURL }}"> <link rel="icon" type="image/png" sizes="16x16" href="{{ site.Params.assets.favicon16x16 | default "favicon-16x16.png" | absURL }}">