more updates to match new code, new entry for testing
This commit is contained in:
parent
46751d66ca
commit
008d2d760c
140 changed files with 17228 additions and 12 deletions
39
themes/hyde/templates/base.tmpl
Normal file
39
themes/hyde/templates/base.tmpl
Normal file
|
|
@ -0,0 +1,39 @@
|
|||
{# -*- coding: utf-8 -*- #}
|
||||
{% import 'base_helper.tmpl' as base with context %}
|
||||
{% import 'base_header.tmpl' as header with context %}
|
||||
{% import 'base_footer.tmpl' as footer with context %}
|
||||
{{ set_locale(lang) }}
|
||||
{{ base.html_headstart() }}
|
||||
{% block extra_head %}
|
||||
{# Leave this block alone. #}
|
||||
{% endblock %}
|
||||
{{ template_hooks['extra_head']() }}
|
||||
</head>
|
||||
<body class="{{ hyde_subtheme }}">
|
||||
<a href="#content" class="sr-only sr-only-focusable">{{ messages("Skip to main content") }}</a>
|
||||
|
||||
<div class="hsidebar">
|
||||
<div class="container sidebar-sticky">
|
||||
<div class="sidebar-about">
|
||||
<h1>
|
||||
<a href="{{ abs_link(_link("root", None, lang)) }}">
|
||||
{{ header.html_site_title() }}
|
||||
</a>
|
||||
</h1>
|
||||
{{ header.html_site_description() }}
|
||||
</div>
|
||||
{{ header.html_navigation_links() }}
|
||||
{{ footer.html_footer() }}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="content container" id="content">
|
||||
{% block content %}{% endblock %}
|
||||
</div>
|
||||
|
||||
{% block extra_js %}{% endblock %}
|
||||
{{ body_end }}
|
||||
{{ template_hooks['body_end']() }}
|
||||
{{ base.late_load_js() }}
|
||||
</body>
|
||||
</html>
|
||||
Loading…
Add table
Add a link
Reference in a new issue