Hi ,
with this code I render a single.html page based on fontmattere user setting.
How to set a default render if the user dont set it on frontmatter?
{{- if eq .Params.type "standard-view" | default "standard-view" -}}
{{ partial "layout1.html" . }}
{{else}}
{{ partial "layout2.html" . }}
{{- end -}}
Thanks