mirror of
https://github.com/McShelby/hugo-theme-relearn.git
synced 2024-11-23 07:47:54 +00:00
siteparam: avoid halt if param is a map/slice #611
This commit is contained in:
parent
6756400f08
commit
6e5ca298e7
1 changed files with 3 additions and 1 deletions
|
@ -11,5 +11,7 @@
|
|||
{{- $params = index . (lower $paramName) }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
{{- $params | .RenderString }}
|
||||
{{- if $params }}
|
||||
{{- $params | .RenderString }}
|
||||
{{- end }}
|
||||
{{- end }}
|
Loading…
Reference in a new issue