Merge pull request #519 from nekr0z/518

fix(function): error with newer Hugo versions
This commit is contained in:
Dillon
2022-05-02 16:53:38 +08:00
committed by GitHub

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 -}}