{{/* ## Hugo Encrypt ### Params: - `password`: require param - Simple {{< hugo-encrypt "your password" >}} your content {{< /hugo-encrypt >}} */}} {{/* DEFAULTS */}} {{ $_hugo_config := `{ "version": 1 }` }} {{ if .Get 0 }} {{- $password := $.Scratch.Set "password" (.Get 0) -}} {{ else if .Site.Params.Passwoird }} {{- $password := $.Scratch.Set "password" .Site.Params.Password -}} {{ else }} {{- $password -}} {{ end }}

{{ i18n "protectedbypwd" }}

{{ .Inner }}