Initial check-in after refactoring to use Hugo site generator with ReLearn template. HTTP Status Codes page not done--nor adwords added.
This commit is contained in:
7
themes/relearn/layouts/shortcodes/siteparam.html
Normal file
7
themes/relearn/layouts/shortcodes/siteparam.html
Normal file
@ -0,0 +1,7 @@
|
||||
{{- $paramName := .Get "name" | default (.Get 0) -}}
|
||||
{{- $siteParams := .Site.Params -}}
|
||||
{{- with $paramName -}}
|
||||
{{- with $siteParams -}}
|
||||
{{- index . (lower $paramName) -}}
|
||||
{{- end -}}
|
||||
{{- end -}}
|
||||
Reference in New Issue
Block a user