import du theme dans github
This commit is contained in:
50
templates/base.html
Normal file
50
templates/base.html
Normal file
@ -0,0 +1,50 @@
|
||||
<!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>
|
Reference in New Issue
Block a user