1
0
Files
sardines/templates/base.html
2015-08-09 22:49:57 +02:00

51 lines
1.8 KiB
HTML
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<!DOCTYPE html>
<html>
<head>
<!-- Standard Meta -->
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0">
<!-- Site Properties -->
<title>{% block title %}{{ SITENAME }}{%endblock%}</title>
{% if FEED_ALL_ATOM %}
<link href="{{ FEED_DOMAIN }}/{{ FEED_ALL_ATOM }}" type="application/atom+xml" rel="alternate" title="{{ SITENAME }} Atom Feed" />
{% endif %}
{% if FEED_ALL_RSS %}
<link href="{{ FEED_DOMAIN }}/{{ FEED_ALL_RSS }}" type="application/rss+xml" rel="alternate" title="{{ SITENAME }} RSS Feed" />
{% endif %}
<!-- styles + JS -->
<link rel="stylesheet" type="text/css" href="/{{ THEME_STATIC_DIR }}/semantic-ui/semantic.css">
<link rel="stylesheet" type="text/css" href="/{{ THEME_STATIC_DIR }}/screen.css" media="screen">
</head>
{# TODO indentation, commentaires #}
{# FIXME appels javascript ko ? #}
<body>{% block body %}
<div id="grid" class="ui stackable grid">
{% block header %}<header id="header" class="sixteen wide column">
<a href="/" class="ui header title">
{{ SITENAME }}
{% if SITESUBTITLE %}<small class="subtitle">{{ SITESUBTITLE }}</small>{% endif %}
</a>
</header>
{% endblock %}
{# pages (changing) content #}
{% block local %}<div id="local" class="fourteen wide computer column">
<article class="ui segment">
<p>hello content</p>
</article>
</div>{% endblock %}
{# global / fixed content #}
{% block global %}
{% include "inc/global-navs.aside.html" %}
{% endblock %}
{% endblock %}</div>{# end grid #}
<script src="{{ SITEURL }}/{{ THEME_STATIC_DIR }}/jquery/jquery.min.js"></script>
<script src="{{ SITEURL }}/{{ THEME_STATIC_DIR }}/semantic-ui/semantic.min.js"></script>
</body>
</html>