fix(function): error with newer Hugo versions

This commit is contained in:
Evgeny Kuznetsov 2020-09-14 20:14:41 +03:00
parent 96cf051546
commit 3249f108da
No known key found for this signature in database
GPG key ID: 79B2B092A63F5E6F

View file

@ -1,5 +1,7 @@
{{- $content := .Content -}}
{{- if ne "" $content -}}
{{- if .Ruby -}}
{{- $content = partial "function/ruby.html" $content -}}
{{- end -}}
@ -16,4 +18,6 @@
{{- $content = partial "function/escape.html" $content -}}
{{- end -}}
{{- return $content -}}