mirror of
https://github.com/McShelby/hugo-theme-relearn.git
synced 2024-11-23 07:47:54 +00:00
parent
ec134fa041
commit
2b516acac2
2 changed files with 2 additions and 0 deletions
|
@ -1,3 +1,4 @@
|
|||
{{- $_hugo_config := `{ "version": 1 }` }}
|
||||
{{- $version := split hugo.Version "." }}
|
||||
{{- $major := int (index $version 0) }}
|
||||
{{- $minor := int (index $version 1) }}
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
{{- $_hugo_config := `{ "version": 1 }` }}
|
||||
{{- partial "shortcodes/notice.html" (dict
|
||||
"context" .Page
|
||||
"color" (.Get "color")
|
||||
|
|
Loading…
Reference in a new issue