Use not with a pipe
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
{{ $page := . }}
|
||||
|
||||
{{ $copyright := site.Copyright }}
|
||||
{{ $credit := not ($page.Param "paige.hide_credit_link") }}
|
||||
{{ $credit := $page.Param "paige.hide_credit_link" | not }}
|
||||
{{ $first := templates.Exists "partials/paige/footer-first.html" }}
|
||||
{{ $last := templates.Exists "partials/paige/footer-last.html" }}
|
||||
|
||||
|
Reference in New Issue
Block a user