aboutsummaryrefslogtreecommitdiff
path: root/templates/emoji.tmpl
diff options
context:
space:
mode:
authorr <r@freesoftwareextremist.com>2020-01-14 16:57:16 +0000
committerr <r@freesoftwareextremist.com>2020-01-14 16:57:16 +0000
commit55987a4c1bd7364eba7438e7326a76a9a550b668 (patch)
tree366dd5280f307ece3fc2343be3f24036f577f93b /templates/emoji.tmpl
parent3c6653a77b8951672ea169d175db154495a981fe (diff)
downloadbloat-55987a4c1bd7364eba7438e7326a76a9a550b668.tar.gz
bloat-55987a4c1bd7364eba7438e7326a76a9a550b668.zip
Refactor renderer and templates
Diffstat (limited to 'templates/emoji.tmpl')
-rw-r--r--templates/emoji.tmpl8
1 files changed, 4 insertions, 4 deletions
diff --git a/templates/emoji.tmpl b/templates/emoji.tmpl
index aba4726..2066afa 100644
--- a/templates/emoji.tmpl
+++ b/templates/emoji.tmpl
@@ -1,5 +1,6 @@
-{{template "header.tmpl" .HeaderData}}
-{{template "navigation.tmpl" .NavbarData}}
+{{with .Data}}
+{{template "header.tmpl" (WithContext .HeaderData $.Ctx)}}
+{{template "navigation.tmpl" (WithContext .NavbarData $.Ctx)}}
<div class="page-title"> Emojis </div>
<div class="emoji-list-container">
@@ -12,5 +13,4 @@
</div>
{{template "footer.tmpl"}}
-
-
+{{end}}