param.html (223B)
1 {{- $name := (.Get 0) -}} 2 {{- with $name -}} 3 {{- with ($.Page.Param .) }}{{ . }}{{ else }}{{ errorf "Param %q not found: %s" $name $.Position }}{{ end -}} 4 {{- else }}{{ errorf "Missing param key: %s" $.Position }}{{ end -}}
Fork of github.com/gohugoio/hugo with reverse pagination support
git clone git://git.shimmy1996.com/hugo.git
1 {{- $name := (.Get 0) -}} 2 {{- with $name -}} 3 {{- with ($.Page.Param .) }}{{ . }}{{ else }}{{ errorf "Param %q not found: %s" $name $.Position }}{{ end -}} 4 {{- else }}{{ errorf "Missing param key: %s" $.Position }}{{ end -}}