simplified main menu, (maybe?) fixed preloading of css
This commit is contained in:
parent
836892e08e
commit
8c242b4aa5
8 changed files with 39 additions and 173 deletions
|
@ -1,7 +1,7 @@
|
|||
{{- define "stylesheet" -}}
|
||||
{{- $scss := resources.Get "/_default/list.scss" -}}
|
||||
{{- $style := $scss | resources.ToCSS -}}
|
||||
<link rel="stylesheet" href="{{ $style.Permalink }}" type="text/css" media="screen" rel="preload" />
|
||||
<link rel="preload stylesheet" as="style" href="{{ $style.Permalink }}" type="text/css" media="screen" />
|
||||
{{- end -}}
|
||||
|
||||
{{- define "main" }}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue