1
0
Files
sardines/templates/base.html
Jérémie Ducastel 90d68a9a4b fixes + readme
* correctif liens pocket
* nommage des endblocks
* réadmet + ajout capture
2015-08-10 13:37:36 +02:00

52 lines
1.9 KiB
HTML
Raw Permalink 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 #}
<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 header %}
{# pages (changing) content #}
{% block local %}<div id="local" class="fourteen wide computer twelve wide tablet column">
<article class="ui segment">
<p>hello content</p>
</article>
</div>{% endblock local %}
{# global / fixed content #}
{% block global %}
{% include "inc/global-navs.aside.html" %}
{% endblock global %}
</div>{% endblock body %}
{# FIXME appels javascript ko ? #}
{#}<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>