Add custom css support (#21)
This commit is contained in:
parent
4fb41e8a9a
commit
269713b589
3 changed files with 12 additions and 1 deletions
|
@ -25,6 +25,9 @@
|
|||
{{ $style := resources.Get "scss/style.scss" | resources.ExecuteAsTemplate "css/style.css" . | toCSS | minify | fingerprint -}}
|
||||
<link rel="stylesheet" href="{{ $style.Permalink }}" {{ printf "integrity=%q" $style.Data.Integrity | safeHTMLAttr }}>
|
||||
{{ block "head" . -}}{{- end }}
|
||||
{{ range .Site.Params.CustomCSS -}}
|
||||
<link rel="stylesheet" href="{{ . | absURL }}">
|
||||
{{- end }}
|
||||
</head>
|
||||
|
||||
<body id="page">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue