diff options
Diffstat (limited to 'layouts/partials/post/reward.html')
-rw-r--r-- | layouts/partials/post/reward.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/partials/post/reward.html b/layouts/partials/post/reward.html index 7847454..35933ea 100644 --- a/layouts/partials/post/reward.html +++ b/layouts/partials/post/reward.html @@ -1,4 +1,4 @@ -{{ if and .Site.Params.reward.enable (ne .Params.reward false) }} +{{ if or .Params.reward (and .Site.Params.reward.enable (ne .Params.reward false)) }} <div class="post-reward"> {{- $lang := .Site.Data.even.default }} <input type="checkbox" name="reward" id="reward" hidden /> |