mirror of
https://github.com/Vimux/Binario.git
synced 2024-11-21 13:48:29 +00:00
Store CSS as an asset file
This commit is contained in:
parent
6dc14f2df3
commit
965c3fa699
2 changed files with 3 additions and 1 deletions
|
@ -14,7 +14,9 @@
|
||||||
{{- if .Site.Params.twitter_cards }}
|
{{- if .Site.Params.twitter_cards }}
|
||||||
{{ template "_internal/twitter_cards.html" . }}
|
{{ template "_internal/twitter_cards.html" . }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
<link rel="stylesheet" href="{{ "css/main.css" | relURL }}">
|
{{- $cssMain := resources.Get "css/main.css" }}
|
||||||
|
{{- $style := $cssMain }}
|
||||||
|
<link rel="stylesheet" href="{{ $style.RelPermalink }}">
|
||||||
{{- range .Site.Params.customCSS }}
|
{{- range .Site.Params.customCSS }}
|
||||||
<link rel="stylesheet" href="{{ . | relURL }}">
|
<link rel="stylesheet" href="{{ . | relURL }}">
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|
Loading…
Reference in a new issue