diff options
author | Charlie Root <root@web.ccc.local> | 2020-05-26 22:45:15 +0000 |
---|---|---|
committer | Charlie Root <root@web.ccc.local> | 2020-05-26 22:45:15 +0000 |
commit | daf20dd652f9294273c1110f60ff4da6d99f67c5 (patch) | |
tree | 13bf0ee020cd847fa8c1a452c680948e3d99239d /themes/ccc/templates/static_footer.tmpl | |
parent | ba279352885269d921e71ff7f5314b5b21dc58b7 (diff) |
Commit preview bundle
Diffstat (limited to 'themes/ccc/templates/static_footer.tmpl')
-rw-r--r-- | themes/ccc/templates/static_footer.tmpl | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/themes/ccc/templates/static_footer.tmpl b/themes/ccc/templates/static_footer.tmpl new file mode 100644 index 00000000..b99dfae1 --- /dev/null +++ b/themes/ccc/templates/static_footer.tmpl | |||
@@ -0,0 +1,16 @@ | |||
1 | ## -*- coding: utf-8 -*- | ||
2 | |||
3 | <%block name="static_footer"> | ||
4 | % if global_data.get('footer'): | ||
5 | <footer id="footer" class="container-fluid text-muted bg-light shadow-sm mt-3 py-2"> | ||
6 | <div class="row justify-content-center text-center"> | ||
7 | % for item in global_data['footer']: | ||
8 | <div class="col"> | ||
9 | <a href="${item.get('url','#')}">${item.get('title',u'error')}</a> | ||
10 | </div> | ||
11 | % endfor | ||
12 | </div> | ||
13 | ${template_hooks['page_footer']()} | ||
14 | </footer> | ||
15 | % endif | ||
16 | </%block> | ||