Skip to content

Commit

Permalink
fix: drop cap after hr
Browse files Browse the repository at this point in the history
  • Loading branch information
reuixiy committed Feb 15, 2020
1 parent b07107b commit 223b67b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion layouts/partials/components/content.html
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@

<!-- Drop Cap After `<hr />` -->
{{- $Content := .Scratch.Get "Content" -}}
{{- $enableDropCapAfterHr := and .Site.Params.enableDropCap (.Params.dropCapAfterHr | default .Site.Params.enableDropCapAfterHr) -}}
{{- $enableDropCapAfterHr := .Params.dropCapAfterHr | default .Site.Params.enableDropCapAfterHr -}}
{{- if ne .Type "poetry" -}}
{{- if $enableDropCapAfterHr -}}
{{- if .Params.deleteHrBeforeDropCap | default .Site.Params.deleteHrBeforeDropCap -}}
Expand Down

0 comments on commit 223b67b

Please sign in to comment.