summaryrefslogtreecommitdiff
path: root/themes/elenq/templates/base.html
diff options
context:
space:
mode:
authorEkaitz Zárraga <ekaitz.zarraga@protonmail.com>2018-04-06 12:01:09 +0200
committerEkaitz Zárraga <ekaitz.zarraga@protonmail.com>2018-04-06 12:01:09 +0200
commitfc476ec89f95a8011ae132dfda05d05ff4642d7a (patch)
tree0e807e86757f9555479354a6e26b24cf08370912 /themes/elenq/templates/base.html
Template V1
Diffstat (limited to 'themes/elenq/templates/base.html')
-rw-r--r--themes/elenq/templates/base.html81
1 files changed, 81 insertions, 0 deletions
diff --git a/themes/elenq/templates/base.html b/themes/elenq/templates/base.html
new file mode 100644
index 0000000..d591ee5
--- /dev/null
+++ b/themes/elenq/templates/base.html
@@ -0,0 +1,81 @@
+<!DOCTYPE html>
+<html lang="{{ DEFAULT_LANG }}">
+ <head>
+ {% block head %}
+ <title>{% block title %}{{ SITENAME }}{% endblock title %}</title>
+ <meta charset="utf-8" />
+ {% if FEED_ALL_ATOM %}
+ <link href="{{ FEED_DOMAIN }}/{% if FEED_ALL_ATOM_URL %}{{ FEED_ALL_ATOM_URL }}{% else %}{{ FEED_ALL_ATOM }}{% endif %}" type="application/atom+xml" rel="alternate" title="{{ SITENAME }} Full Atom Feed" />
+ {% endif %}
+ {% if FEED_ALL_RSS %}
+ <link href="{{ FEED_DOMAIN }}/{% if FEED_ALL_RSS_URL %}{{ FEED_ALL_RSS_URL }}{% else %}{{ FEED_ALL_RSS }}{% endif %}" type="application/rss+xml" rel="alternate" title="{{ SITENAME }} Full RSS Feed" />
+ {% endif %}
+ {% if FEED_ATOM %}
+ <link href="{{ FEED_DOMAIN }}/{%if FEED_ATOM_URL %}{{ FEED_ATOM_URL }}{% else %}{{ FEED_ATOM }}{% endif %}" type="application/atom+xml" rel="alternate" title="{{ SITENAME }} Atom Feed" />
+ {% endif %}
+ {% if FEED_RSS %}
+ <link href="{{ FEED_DOMAIN }}/{% if FEED_RSS_URL %}{{ FEED_RSS_URL }}{% else %}{{ FEED_RSS }}{% endif %}" type="application/rss+xml" rel="alternate" title="{{ SITENAME }} RSS Feed" />
+ {% endif %}
+ {% if CATEGORY_FEED_ATOM and category %}
+ <link href="{{ FEED_DOMAIN }}/{% if CATEGORY_FEED_ATOM_URL %}{{ CATEGORY_FEED_ATOM_URL|format(category.slug) }}{% else %}{{ CATEGORY_FEED_ATOM|format(category.slug) }}{% endif %}" type="application/atom+xml" rel="alternate" title="{{ SITENAME }} Categories Atom Feed" />
+ {% endif %}
+ {% if CATEGORY_FEED_RSS and category %}
+ <link href="{{ FEED_DOMAIN }}/{% if CATEGORY_FEED_RSS_URL %}{{ CATEGORY_FEED_RSS_URL|format(category.slug) }}{% else %}{{ CATEGORY_FEED_RSS|format(category.slug) }}{% endif %}" type="application/rss+xml" rel="alternate" title="{{ SITENAME }} Categories RSS Feed" />
+ {% endif %}
+ {% if TAG_FEED_ATOM and tag %}
+ <link href="{{ FEED_DOMAIN }}/{% if TAG_FEED_ATOM_URL %}{{ TAG_FEED_ATOM_URL|format(tag.slug) }}{% else %}{{ TAG_FEED_ATOM|format(tag.slug) }}{% endif %}" type="application/atom+xml" rel="alternate" title="{{ SITENAME }} Tags Atom Feed" />
+ {% endif %}
+ {% if TAG_FEED_RSS and tag %}
+ <link href="{{ FEED_DOMAIN }}/{% if TAG_FEED_RSS_URL %}{{ TAG_FEED_RSS_URL|format(tag.slug) }}{% else %}{{ TAG_FEED_RSS|format(tag.slug) }}{% endif %}" type="application/rss+xml" rel="alternate" title="{{ SITENAME }} Tags RSS Feed" />
+ {% endif %}
+ {% endblock head %}
+
+ <link rel="stylesheet" href="/theme/css/normalize.css">
+ <link rel="stylesheet" href="/theme/css/skeleton.css">
+ <link rel="stylesheet" href="/theme/css/style.css">
+ <link rel="stylesheet" href="/theme/css/fonts.css">
+ </head>
+
+ <body id="index" class="home">
+ <header class="mainheader">
+ <div class="container">
+ <nav id="menu" class="navbar">
+ <div class="navbar-left">
+ {% for title, link in MENUITEMS %}
+ <a class="navbar-link link-left" href="{{ link }}">{{ title }}</a>
+ {% endfor %}
+ {% if DISPLAY_CATEGORIES_ON_MENU -%}
+ {% for cat, null in categories %}
+ <a class="navbar-link link-left {% if cat == category %}active{% endif %}" href="{{ SITEURL }}/{{ cat.url }}">{{ cat }}</a>
+ {% endfor %}
+ {% endif %}
+ </div>
+ <hr class="short navbar-separator"/>
+ <div class="navbar-right">
+ {% if DISPLAY_PAGES_ON_MENU -%}
+ {% for pg in pages %}
+ <a class="navbar-link link-right {% if pg == page %}active{% endif %}" href="{{ SITEURL }}/{{ pg.url }}">{{ pg.title }}</a>
+ {% endfor %}
+ {% endif %}
+ </div>
+ </nav>
+ </div>
+ </header>
+ <div class="content container">
+ <h1 class="main-title"><a class="text-nodeco-black" href="{{ SITEURL }}/">{{ SITENAME }}{% if SITESUBTITLE %}:<br/> {{ SITESUBTITLE }}{% endif %}</a></h1>
+ {% block content %}
+ {% endblock content %}
+ </div>
+ <footer id="contentinfo" class="bar-bottom">
+ <address id="about" class="container text-center">
+ Supported by:
+ </address><!-- /#about -->
+
+ <div class="container text-center">
+ <a href="https://elenq.tech">
+ <img class="footer-logo"src="/theme/img/ElenQTechLogoSimple.png" alt="ElenQ Technology">
+ </a>
+ </div>
+ </footer><!-- /#contentinfo -->
+ </body>
+</html>