Skip to content

Commit

Permalink
fix: pass $Content to custom/content.html
Browse files Browse the repository at this point in the history
  • Loading branch information
reuixiy committed May 18, 2020
1 parent 418f72d commit df739fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion layouts/partials/utils/content.html
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@
{{- end -}}

<!-- Custom -->
{{- partial "custom/content.html" . -}}
{{- $Content = partial "custom/content.html" (dict "Deliver" $Deliver "Content" $Content) | default $Content -}}

<!-- Final Content -->
{{- $Content | safeHTML -}}

0 comments on commit df739fa

Please sign in to comment.