aboutsummaryrefslogtreecommitdiffstats
path: root/medio/templates/base.html
diff options
context:
space:
mode:
Diffstat (limited to 'medio/templates/base.html')
-rwxr-xr-xmedio/templates/base.html72
1 files changed, 72 insertions, 0 deletions
diff --git a/medio/templates/base.html b/medio/templates/base.html
new file mode 100755
index 0000000..7e6ad02
--- /dev/null
+++ b/medio/templates/base.html
@@ -0,0 +1,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>