diff options
author | r <r@freesoftwareextremist.com> | 2020-01-14 16:57:16 +0000 |
---|---|---|
committer | r <r@freesoftwareextremist.com> | 2020-01-14 16:57:16 +0000 |
commit | 55987a4c1bd7364eba7438e7326a76a9a550b668 (patch) | |
tree | 366dd5280f307ece3fc2343be3f24036f577f93b /templates/likedby.tmpl | |
parent | 3c6653a77b8951672ea169d175db154495a981fe (diff) | |
download | bloat-55987a4c1bd7364eba7438e7326a76a9a550b668.tar.gz bloat-55987a4c1bd7364eba7438e7326a76a9a550b668.zip |
Refactor renderer and templates
Diffstat (limited to 'templates/likedby.tmpl')
-rw-r--r-- | templates/likedby.tmpl | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/templates/likedby.tmpl b/templates/likedby.tmpl index 72855e0..00857c1 100644 --- a/templates/likedby.tmpl +++ b/templates/likedby.tmpl @@ -1,7 +1,9 @@ -{{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"> Liked By </div> -{{template "userlist.tmpl" .Users}} +{{template "userlist.tmpl" (WithContext .Users $.Ctx)}} {{template "footer.tmpl"}} +{{end}} |