add styles from assets
- bundle an-old-hope and style - minify
This commit is contained in:
parent
b5ab1d495d
commit
2884ee2055
|
@ -15,8 +15,10 @@
|
|||
<meta name="author" content="{{ .Site.Params.author }}">
|
||||
{{- end }}
|
||||
<!-- Styles -->
|
||||
<link href="{{ "an-old-hope.min.css" | absURL }}" rel="stylesheet">
|
||||
<link href="{{ "style.css" | absURL }}" rel="stylesheet">
|
||||
{{ $anoldhope := resources.Get "an-old-hope.min.css" | minify }}
|
||||
{{ $style := resources.Get "style.css" | minify }}
|
||||
{{ $stylesheet := slice $anoldhope $style | resources.Concat "stylesheet.css" | minify }}
|
||||
<link href="{{ $stylesheet.Permalink }}" rel="stylesheet">
|
||||
<link href="{{ "custom.css" | absURL }}" rel="stylesheet">
|
||||
<!-- Favicons -->
|
||||
<link rel="apple-touch-icon" href="{{ "apple-touch-icon.png" | absURL }}">
|
||||
|
|
Loading…
Reference in New Issue