diff options
author | Hauke Stieler <mail@hauke-stieler.de> | 2018-10-31 17:37:47 +0300 |
---|---|---|
committer | Hauke Stieler <mail@hauke-stieler.de> | 2018-10-31 17:37:47 +0300 |
commit | 8ae9e1167e32ff3fb724d7a4f23d0698e1585644 (patch) | |
tree | 6f335e1af7d888ddba9e726be6b1a0df4c98b231 /layouts/index.html | |
parent | d042c277400e99603e27c4a28c50df7052e3be37 (diff) |
Use "eq nil" instead of IsSet
IsSet does not work with nil-values.
Diffstat (limited to 'layouts/index.html')
-rw-r--r-- | layouts/index.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/index.html b/layouts/index.html index fab8767..cf1dd7c 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -7,7 +7,7 @@ {{ .Render "li" }} {{ end }} </div> -{{ if (isset . "Paginator") }} +{{ if (not (eq nil .Paginator)) }} {{ partial "pagination.html" .Paginator }} {{ end }} {{ partial "footer.html" . }} |