theme/templates/base.html

changeset 68
4fa6621fec0f
parent 40
2a30ebfd851f
child 70
b027bc447b57
equal deleted inserted replaced
66:70aad9a1272b 68:4fa6621fec0f
1 <!doctype html> 1 <!doctype html>
2 <html class="no-js" lang="en"> 2 <html class="no-js" lang="en">
3 <head> 3 <head>
4 <meta charset="UTF-8"> 4 <meta charset="UTF-8">
5 <meta name="viewport" content="width=device-width, initial-scale=1.0"> 5 <meta name="viewport" content="width=device-width, initial-scale=1.0">
6 <link rel="stylesheet" href="{{ SITEURL}}/theme/css/foundation.min.css" media="all"> 6 <link rel="stylesheet" href="{{ SITEURL}}/theme/css/foundation.min.css" media="all">
7 <script type="text/javascript" src="{{ SITEURL }}/theme/js/modernizr.js"></script> 7 <script type="text/javascript" src="{{ SITEURL }}/theme/js/modernizr.js"></script>
8 <link href='https://fonts.googleapis.com/css?family=Exo+2:400,300,700,300italic,400italic,700italic,900,900italic' rel='stylesheet' type='text/css'> 8 <link href='https://fonts.googleapis.com/css?family=Exo+2:400,300,700,300italic,400italic,700italic,900,900italic' rel='stylesheet' type='text/css'>
9 <link rel="stylesheet" href="{{ SITEURL }}/theme/css/lamboz.css" media="all"> 9 <link rel="stylesheet" href="{{ SITEURL }}/theme/css/lamboz.css" media="all">
10 {% block head %} 10 {% block head %}
11 <title>{% block title %}{{ SITENAME }}{% endblock title %}</title> 11 <title>{% block title %}{{ SITENAME }}{% endblock title %}</title>
12 <meta charset="utf-8" /> 12 <meta charset="utf-8" />
13 {% if FEED_ALL_ATOM %} 13 {% if FEED_ALL_ATOM %}
14 <link href="{{ FEED_DOMAIN }}/{{ FEED_ALL_ATOM }}" type="application/atom+xml" rel="alternate" title="{{ SITENAME }} Full Atom Feed" /> 14 <link href="{{ FEED_DOMAIN }}/{{ FEED_ALL_ATOM }}" type="application/atom+xml" rel="alternate" title="{{ SITENAME }} Full Atom Feed" />
15 {% endif %} 15 {% endif %}
16 {% if FEED_ALL_RSS %} 16 {% if FEED_ALL_RSS %}
17 <link href="{{ FEED_DOMAIN }}/{{ FEED_ALL_RSS }}" type="application/rss+xml" rel="alternate" title="{{ SITENAME }} Full RSS Feed" /> 17 <link href="{{ FEED_DOMAIN }}/{{ FEED_ALL_RSS }}" type="application/rss+xml" rel="alternate" title="{{ SITENAME }} Full RSS Feed" />
18 {% endif %} 18 {% endif %}
19 {% if FEED_ATOM %} 19 {% if FEED_ATOM %}
20 <link href="{{ FEED_DOMAIN }}/{{ FEED_ATOM }}" type="application/atom+xml" rel="alternate" title="{{ SITENAME }} Atom Feed" /> 20 <link href="{{ FEED_DOMAIN }}/{{ FEED_ATOM }}" type="application/atom+xml" rel="alternate" title="{{ SITENAME }} Atom Feed" />
21 {% endif %} 21 {% endif %}
22 {% if FEED_RSS %} 22 {% if FEED_RSS %}
23 <link href="{{ FEED_DOMAIN }}/{{ FEED_RSS }}" type="application/rss+xml" rel="alternate" title="{{ SITENAME }} RSS Feed" /> 23 <link href="{{ FEED_DOMAIN }}/{{ FEED_RSS }}" type="application/rss+xml" rel="alternate" title="{{ SITENAME }} RSS Feed" />
24 {% endif %} 24 {% endif %}
25 {% if CATEGORY_FEED_ATOM and category %} 25 {% if CATEGORY_FEED_ATOM and category %}
26 <link href="{{ FEED_DOMAIN }}/{{ CATEGORY_FEED_ATOM|format(category.slug) }}" type="application/atom+xml" rel="alternate" title="{{ SITENAME }} Categories Atom Feed" /> 26 <link href="{{ FEED_DOMAIN }}/{{ CATEGORY_FEED_ATOM|format(category.slug) }}" type="application/atom+xml" rel="alternate" title="{{ SITENAME }} Categories Atom Feed" />
27 {% endif %} 27 {% endif %}
28 {% if CATEGORY_FEED_RSS and category %} 28 {% if CATEGORY_FEED_RSS and category %}
29 <link href="{{ FEED_DOMAIN }}/{{ CATEGORY_FEED_RSS|format(category.slug) }}" type="application/rss+xml" rel="alternate" title="{{ SITENAME }} Categories RSS Feed" /> 29 <link href="{{ FEED_DOMAIN }}/{{ CATEGORY_FEED_RSS|format(category.slug) }}" type="application/rss+xml" rel="alternate" title="{{ SITENAME }} Categories RSS Feed" />
30 {% endif %} 30 {% endif %}
31 {% if TAG_FEED_ATOM and tag %} 31 {% if TAG_FEED_ATOM and tag %}
32 <link href="{{ FEED_DOMAIN }}/{{ TAG_FEED_ATOM|format(tag.slug) }}" type="application/atom+xml" rel="alternate" title="{{ SITENAME }} Tags Atom Feed" /> 32 <link href="{{ FEED_DOMAIN }}/{{ TAG_FEED_ATOM|format(tag.slug) }}" type="application/atom+xml" rel="alternate" title="{{ SITENAME }} Tags Atom Feed" />
33 {% endif %} 33 {% endif %}
34 {% if TAG_FEED_RSS and tag %} 34 {% if TAG_FEED_RSS and tag %}
35 <link href="{{ FEED_DOMAIN }}/{{ TAG_FEED_RSS|format(tag.slug) }}" type="application/rss+xml" rel="alternate" title="{{ SITENAME }} Tags RSS Feed" /> 35 <link href="{{ FEED_DOMAIN }}/{{ TAG_FEED_RSS|format(tag.slug) }}" type="application/rss+xml" rel="alternate" title="{{ SITENAME }} Tags RSS Feed" />
36 {% endif %} 36 {% endif %}
37 {% if PIWIK %} 37 {% if PIWIK %}
38 {{PIWIK}} 38 {{PIWIK}}
39 {% endif %} 39 {% endif %}
40 {% endblock head %} 40 {% if article %}
41 {% if article.stylesheets %}
42 {% for stylesheet in article.stylesheets %}
43 {{ stylesheet }}
44 {% endfor %}
45 {% endif %}
46
47 {% if article.javascripts %}
48 {% for javascript in article.javascripts %}
49 {{ javascript }}
50 {% endfor %}
51 {% endif %}
52 {% endif %}
53
54 {% endblock head %}
41 </head> 55 </head>
42 <body> 56 <body onload="WaveDrom.ProcessAll()">
43 <div class="pages"> 57 <div class="pages">
44 <ul> 58 <ul>
45 <li class="home"><a href="{{ SITEURL }}/index.html">{{ SITENAME }}</a></li> 59 <li class="home"><a href="{{ SITEURL }}/index.html">{{ SITENAME }}</a></li>
46 {% for p in pages %} 60 {% for p in pages %}
47 <li {% if p == page %} class="active"{% endif %}><a href="{{ SITEURL }}/{{ p.url }}">{{ p.title }}</a></li> 61 <li {% if p == page %} class="active"{% endif %}><a href="{{ SITEURL }}/{{ p.url }}">{{ p.title }}</a></li>
118 {% endblock %} 132 {% endblock %}
119 </div> 133 </div>
120 {% include 'trademark.html' %} 134 {% include 'trademark.html' %}
121 </div> 135 </div>
122 </body> 136 </body>
137
138
123 </html> 139 </html>

mercurial