add styles from assets

- bundle an-old-hope and style
    - minify
This commit is contained in:
Aditya Telange 2020-07-20 19:17:39 +05:30
parent b5ab1d495d
commit 2884ee2055

View File

@ -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 }}">