diff options
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> | ||