cookies, template rendering with different CSS files via default or request param or cookie, etc.
24 lines
818 B
HTML
24 lines
818 B
HTML
<!doctype html>
|
|
<title>{{ title }}{% if title %} - {% endif %}{{ config.TITLE_SUFFIX }}</title>
|
|
<link rel="stylesheet" href="{{ url_for('static', filename='css/style.css') }}">
|
|
<link rel="stylesheet" href="{{ url_for('static', filename=user_style) }}">
|
|
<link rel="icon" href="{{ url_for('static', filename='img/favicon.png') }}">
|
|
<section class="site-wrap">
|
|
<section class="styles">
|
|
<a href="?style=dark">[dark]</a>
|
|
<a href="?style=light">[light]</a>
|
|
</section>
|
|
<section class="nav">
|
|
{% for nav in navs %}
|
|
<a href="{{ nav.1 }}">{{ nav.0 }}</a>
|
|
{% if not loop.last %} » {% endif %}
|
|
{% endfor %}
|
|
</section>
|
|
<section class="content">
|
|
{{ content }}
|
|
</section>
|
|
<footer>
|
|
<i>Last modified: {{ mtime }}</i>
|
|
</footer>
|
|
</section>
|