mirror of
https://github.com/dillonzq/LoveIt.git
synced 2024-11-22 14:56:19 +01:00
Merge pull request #519 from nekr0z/518
fix(function): error with newer Hugo versions
This commit is contained in:
commit
5093f1a24a
1 changed files with 4 additions and 0 deletions
|
@ -1,5 +1,7 @@
|
||||||
{{- $content := .Content -}}
|
{{- $content := .Content -}}
|
||||||
|
|
||||||
|
{{- if ne "" $content -}}
|
||||||
|
|
||||||
{{- if .Ruby -}}
|
{{- if .Ruby -}}
|
||||||
{{- $content = partial "function/ruby.html" $content -}}
|
{{- $content = partial "function/ruby.html" $content -}}
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
|
@ -16,4 +18,6 @@
|
||||||
|
|
||||||
{{- $content = partial "function/escape.html" $content -}}
|
{{- $content = partial "function/escape.html" $content -}}
|
||||||
|
|
||||||
|
{{- end -}}
|
||||||
|
|
||||||
{{- return $content -}}
|
{{- return $content -}}
|
||||||
|
|
Loading…
Reference in a new issue