mirror of
https://github.com/gcushen/hugo-academic.git
synced 2025-01-02 09:35:15 +01:00
Compare commits
3 commits
29742c62bf
...
fbcf8bec9a
Author | SHA1 | Date | |
---|---|---|---|
|
fbcf8bec9a | ||
|
71de892c1c | ||
|
ae0864f571 |
2 changed files with 2 additions and 2 deletions
|
@ -7,7 +7,7 @@
|
|||
"date" ($.Page.Date.UTC.Format "2006-01-02T15:04:05-07:00")
|
||||
"linkTitle" $.Page.LinkTitle
|
||||
"relPermalink" $.Page.RelPermalink
|
||||
}}
|
||||
-}}
|
||||
{{- $backlink := dict "page" $page "links_to" .RelPermalink }}
|
||||
{{- site.Home.Store.Add "backlinks" (slice $backlink) }}
|
||||
{{- end }}
|
||||
|
|
|
@ -57,7 +57,7 @@
|
|||
|
||||
{{/* Style */}}
|
||||
{{ if ne (os.Getenv "HUGO_BLOX_POSTCSS") "true" }}
|
||||
{{ $styles := resources.Get "dist/wc.min.css" }}
|
||||
{{ $styles := resources.Get "dist/wc.min.css" | fingerprint "sha256" }}
|
||||
<link href="{{ $styles.RelPermalink }}" rel="stylesheet" />
|
||||
{{ else }}
|
||||
{{ $options := dict "inlineImports" true }}
|
||||
|
|
Loading…
Reference in a new issue