mirror of
https://github.com/Wonderfall/hugo-WonderMod.git
synced 2024-12-22 09:05:07 +01:00
bundle noscript style
This commit is contained in:
parent
18b691c534
commit
b01e9a8653
8
assets/css/includes/noscript.css
Normal file
8
assets/css/includes/noscript.css
Normal file
@ -0,0 +1,8 @@
|
||||
#theme-toggle,
|
||||
.top-link {
|
||||
display: none;
|
||||
}
|
||||
|
||||
#searchInput {
|
||||
display: none;
|
||||
}
|
@ -68,6 +68,17 @@
|
||||
<link crossorigin="anonymous" href="{{ $stylesheet.RelPermalink }}" rel="preload stylesheet" as="style">
|
||||
{{- 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 */}}
|
||||
<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 }}">
|
||||
|
Loading…
Reference in New Issue
Block a user