From 3a3424774944a421e1b93cbaf533a3500a4d613c Mon Sep 17 00:00:00 2001 From: gramanas Date: Thu, 3 May 2018 03:06:50 +0300 Subject: add site and .gitignore --- site-src/themes/hack/templates/base.tmpl | 38 ++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 site-src/themes/hack/templates/base.tmpl (limited to 'site-src/themes/hack/templates/base.tmpl') diff --git a/site-src/themes/hack/templates/base.tmpl b/site-src/themes/hack/templates/base.tmpl new file mode 100644 index 0000000..b0f2c4e --- /dev/null +++ b/site-src/themes/hack/templates/base.tmpl @@ -0,0 +1,38 @@ +## -*- coding: utf-8 -*- +<%namespace name="base" file="base_helper.tmpl" import="*"/> +<%namespace name="header" file="base_header.tmpl" import="*"/> +<%namespace name="footer" file="base_footer.tmpl" import="*"/> +<%namespace name="annotations" file="annotation_helper.tmpl"/> +${set_locale(lang)} +${base.html_headstart()} +<%block name="extra_head"> +### Leave this block alone. + +${template_hooks['extra_head']()} + +% if not HACK_VARIANT: + +% elif HACK_VARIANT == 'dark': + +% elif HACK_VARIANT == 'dark-grey': + +% elif HACK_VARIANT == 'solarized-dark': + +% elif HACK_VARIANT == 'standard': + +% endif + +${messages("Skip to main content")} +
+ ${header.html_header()} +
+ <%block name="content"> +
+ ${footer.html_footer()} +
+ ${base.late_load_js()} + <%block name="extra_js"> + ${body_end} + ${template_hooks['body_end']()} + + -- cgit v1.2.3