mirror of
https://github.com/Vimux/Binario.git
synced 2024-12-03 11:28:35 +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 }}
|
||||
{{ template "_internal/twitter_cards.html" . }}
|
||||
{{- 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 }}
|
||||
<link rel="stylesheet" href="{{ . | relURL }}">
|
||||
{{- end }}
|
||||
|
|
Loading…
Reference in a new issue