aboutsummaryrefslogtreecommitdiffstats
path: root/medio/templates/base.html
blob: 7e6ad020cd58dc2cf37d0bad26fcd7cfc37d9b91 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
<!DOCTYPE html>
<html lang="{{ DEFAULT_LANG }}">
<head>
        {% block head %}
        <title>{% block title %}{{ SITENAME }}{% endblock title %}</title>
        <meta charset="utf-8" />
        <meta name="viewport" content="width=device-width, initial-scale=1" />
        {% if FEED_ALL_ATOM %}
        <link href="{{ FEED_DOMAIN }}/{{ FEED_ALL_ATOM }}" type="application/atom+xml" rel="alternate" title="{{ SITENAME }} Full Atom Feed" />
        {% endif %}
        {% if FEED_ALL_RSS %}
        <link href="{{ FEED_DOMAIN }}/{{ FEED_ALL_RSS }}" type="application/rss+xml" rel="alternate" title="{{ SITENAME }} Full RSS Feed" />
        {% endif %}
        {% if FEED_ATOM %}
        <link href="{{ FEED_DOMAIN }}/{{ FEED_ATOM }}" type="application/atom+xml" rel="alternate" title="{{ SITENAME }} Atom Feed" />
        {% endif %}
        {% if FEED_RSS %}
        <link href="{{ FEED_DOMAIN }}/{{ FEED_RSS }}" type="application/rss+xml" rel="alternate" title="{{ SITENAME }} RSS Feed" />
        {% endif %}
        {% if CATEGORY_FEED_ATOM and category %}
        <link href="{{ FEED_DOMAIN }}/{{ CATEGORY_FEED_ATOM|format(category.slug) }}" type="application/atom+xml" rel="alternate" title="{{ SITENAME }} Categories Atom Feed" />
        {% endif %}
        {% if CATEGORY_FEED_RSS and category %}
        <link href="{{ FEED_DOMAIN }}/{{ CATEGORY_FEED_RSS|format(category.slug) }}" type="application/rss+xml" rel="alternate" title="{{ SITENAME }} Categories RSS Feed" />
        {% endif %}
        {% if TAG_FEED_ATOM and tag %}
        <link href="{{ FEED_DOMAIN }}/{{ TAG_FEED_ATOM|format(tag.slug) }}" type="application/atom+xml" rel="alternate" title="{{ SITENAME }} Tags Atom Feed" />
        {% endif %}
        {% if TAG_FEED_RSS and tag %}
        <link href="{{ FEED_DOMAIN }}/{{ TAG_FEED_RSS|format(tag.slug) }}" type="application/rss+xml" rel="alternate" title="{{ SITENAME }} Tags RSS Feed" />
        {% endif %}
        {% endblock head %}
</head>
<body>

    <div class="navigation pure-menu pure-menu-horizontal">
        <a href="{{ SITEURL }}/" class="pure-menu-heading  pure-menu-link">{{ SITENAME }}</a>
        <ul class="pure-menu-list">
            <li class="pure-menu-item"><a href="../archives.html" class="pure-menu-link">All posts</a></li>
            <li class="pure-menu-item"><a href="../categories.html" class="pure-menu-link">Categories</a></li>
            <li class="pure-menu-item"><a href="../tags.html" class="pure-menu-link">Tags</a></li>
            <li class="pure-menu-item"><a href="../blogroll.html" class="pure-menu-link">Blogroll</a></li>
        </ul>
    </div>


    {% block content %}
    {% endblock %}


    <footer class="index-footer">
        <br><a title="Twitter" href="https://twitter.com/replace-this"><i class="fa fa-twitter fa-2x"></i></a>
        <a title="GitHub" href="https://github.com/replace-this"><i class="fa fa-github fa-2x"></i></a>
        <br><p style="margin-top:-2%"><a style="font-size:14px" href="{{ SITEURL }}/" title="{{ SITENAME|striptags }}">Replace these links // <i class="fa fa-creative-commons" aria-hidden="true"></i> {{ SITENAME }}</a></p>
    </footer>

    <link rel="stylesheet" href="../theme/css/pure-min.css" />
    <link rel="stylesheet" href="../theme/css/grids-responsive-min.css" />
    <link rel="stylesheet" href="../theme/font-awesome-4.7.0/css/font-awesome.min.css" />
    <link rel="stylesheet" href="{{ SITEURL }}/{{ THEME_STATIC_DIR }}/css/{{ CSS_FILE }}" />
    {% include "analytics.html" %}
</body>

{% if article %}
  {% if article.scripts %}
    {% for script in article.scripts %}
    {{ script }}
    {% endfor %}
  {% endif %}
{% endif %}

</html>