mirror of
https://github.com/adityatelange/hugo-PaperMod.git
synced 2023-12-21 10:22:58 +01:00
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 }}">
|
<meta name="author" content="{{ .Site.Params.author }}">
|
||||||
{{- end }}
|
{{- end }}
|
||||||
<!-- Styles -->
|
<!-- Styles -->
|
||||||
<link href="{{ "an-old-hope.min.css" | absURL }}" rel="stylesheet">
|
{{ $anoldhope := resources.Get "an-old-hope.min.css" | minify }}
|
||||||
<link href="{{ "style.css" | absURL }}" rel="stylesheet">
|
{{ $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">
|
<link href="{{ "custom.css" | absURL }}" rel="stylesheet">
|
||||||
<!-- Favicons -->
|
<!-- Favicons -->
|
||||||
<link rel="apple-touch-icon" href="{{ "apple-touch-icon.png" | absURL }}">
|
<link rel="apple-touch-icon" href="{{ "apple-touch-icon.png" | absURL }}">
|
||||||
|
Loading…
Reference in New Issue
Block a user