mirror of
https://github.com/adityatelange/hugo-PaperMod.git
synced 2025-06-01 15:28:23 -04:00
add archives layout
- can be used by setting layout: "archives"
This commit is contained in:
parent
cf6aa709cd
commit
0950fb89a8
3 changed files with 117 additions and 1 deletions
|
@ -19,9 +19,10 @@
|
|||
{{ $main := resources.Get "css/main.css" | minify }}
|
||||
{{ $postentry := resources.Get "css/post-entry.css" | minify }}
|
||||
{{ $postsingle := resources.Get "css/post-single.css" | minify }}
|
||||
{{ $archive := resources.Get "css/archive.css" | minify }}
|
||||
{{ $footer := resources.Get "css/footer.css" | minify }}
|
||||
{{ $404 := resources.Get "css/404.css" | minify }}
|
||||
{{ $style := slice $theme $reset $header $main $postentry $postsingle $footer $404 | resources.Concat "stylesheet.css" | minify }}
|
||||
{{ $style := slice $theme $reset $header $main $postentry $postsingle $archive $footer $404 | resources.Concat "stylesheet.css" | minify }}
|
||||
{{ $stylesheet := slice $anoldhope $style | resources.Concat "css/stylesheet.css" | minify | fingerprint }}
|
||||
<link href="{{ $stylesheet.Permalink }}" integrity="{{ $stylesheet.Data.Integrity }}" rel="stylesheet">
|
||||
<link href="{{ "custom.css" | absURL }}" rel="stylesheet">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue