aboutsummaryrefslogtreecommitdiffstats
path: root/sleepmap-theme/templates
diff options
context:
space:
mode:
Diffstat (limited to 'sleepmap-theme/templates')
-rw-r--r--sleepmap-theme/templates/archives.html13
-rw-r--r--sleepmap-theme/templates/article.html30
-rw-r--r--sleepmap-theme/templates/article_infos.html15
-rw-r--r--sleepmap-theme/templates/author.html2
-rw-r--r--sleepmap-theme/templates/authors.html0
-rw-r--r--sleepmap-theme/templates/base.html82
-rw-r--r--sleepmap-theme/templates/categories.html8
-rw-r--r--sleepmap-theme/templates/category.html2
-rw-r--r--sleepmap-theme/templates/index.html47
-rw-r--r--sleepmap-theme/templates/page.html10
-rw-r--r--sleepmap-theme/templates/tag.html2
-rw-r--r--sleepmap-theme/templates/taglist.html1
-rw-r--r--sleepmap-theme/templates/tags.html0
-rw-r--r--sleepmap-theme/templates/translations.html6
-rw-r--r--sleepmap-theme/templates/twitter.html3
15 files changed, 0 insertions, 221 deletions
diff --git a/sleepmap-theme/templates/archives.html b/sleepmap-theme/templates/archives.html
deleted file mode 100644
index 5ba2c81..0000000
--- a/sleepmap-theme/templates/archives.html
+++ /dev/null
@@ -1,13 +0,0 @@
-{% extends "base.html" %}
-{% block content %}
-<section id="content" class="body">
-<h1>Archives for {{ SITENAME }}</h1>
-
-<dl>
-{% for article in dates %}
- <dt>{{ article.locale_date }}</dt>
- <dd><a href='{{ article.url }}'>{{ article.title }}</a></dd>
-{% endfor %}
-</dl>
-</section>
-{% endblock %}
diff --git a/sleepmap-theme/templates/article.html b/sleepmap-theme/templates/article.html
deleted file mode 100644
index 775e206..0000000
--- a/sleepmap-theme/templates/article.html
+++ /dev/null
@@ -1,30 +0,0 @@
-{% extends "base.html" %}
-{% block title %}{{ article.title|striptags }}{% endblock %}
-{% block content %}
-<section id="content" class="body">
-<article class="hentry">
- <header> <h1 class="entry-title"><a href="{{ article.url }}"
- rel="bookmark" title="Permalink to {{ article.title|striptags }}">{{ article.title
- }}</a></h1> {% include 'twitter.html' %} </header>
- <div class="entry-content">
- {{ article.content }}
- </div><!-- /.entry-content -->
- {% include 'article_infos.html' %}<!-- /.post-info -->
- {% if DISQUS_SITENAME %}
- <div class="comments">
- <h2>Comments !</h2>
- <div id="disqus_thread"></div>
- <script type="text/javascript">
- var disqus_identifier = "{{ article.url }}";
- (function() {
- var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
- dsq.src = 'http://{{ DISQUS_SITENAME }}.disqus.com/embed.js';
- (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
- })();
- </script>
- </div>
- {% endif %}
-
-</article>
-</section>
-{% endblock %}
diff --git a/sleepmap-theme/templates/article_infos.html b/sleepmap-theme/templates/article_infos.html
deleted file mode 100644
index 4185232..0000000
--- a/sleepmap-theme/templates/article_infos.html
+++ /dev/null
@@ -1,15 +0,0 @@
-<footer class="post-info">
- <p>Published on </p>
- <abbr class="published" title="{{ article.date.isoformat() }}">
- {{ article.locale_date }}
- </abbr>
-
- {% if article.author %}
- <p> by</p>
- <address class="vcard author">
- <a class="url fn" href="{{ SITEURL }}/{{ article.author.url }}">{{ article.author }}</a>
- </address>
- {% endif %}
- <p>in the category</p> <a href="{{ SITEURL }}/{{ article.category.url }}">{{ article.category }}</a>
- {% include 'translations.html' %}
-</footer><!-- /.post-info -->
diff --git a/sleepmap-theme/templates/author.html b/sleepmap-theme/templates/author.html
deleted file mode 100644
index 0b37290..0000000
--- a/sleepmap-theme/templates/author.html
+++ /dev/null
@@ -1,2 +0,0 @@
-{% extends "index.html" %}
-{% block title %}{{ SITENAME }} - {{ author }}{% endblock %}
diff --git a/sleepmap-theme/templates/authors.html b/sleepmap-theme/templates/authors.html
deleted file mode 100644
index e69de29..0000000
--- a/sleepmap-theme/templates/authors.html
+++ /dev/null
diff --git a/sleepmap-theme/templates/base.html b/sleepmap-theme/templates/base.html
deleted file mode 100644
index 7d51e63..0000000
--- a/sleepmap-theme/templates/base.html
+++ /dev/null
@@ -1,82 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
- <head>
- <title>{% block title %}{{ SITENAME }}{%endblock%}</title>
- <meta charset="utf-8" />
- <link rel="stylesheet" href="{{ SITEURL }}/theme/css/{{ CSS_FILE }}" type="text/css" />
- <link href="{{ SITEURL }}/{{ FEED }}" type="application/atom+xml" rel="alternate" title="{{ SITENAME }} ATOM Feed" />
- {% if FEED_RSS %}
- <link href="{{ SITEURL }}/{{ FEED_RSS }}" type="application/atom+xml" rel="alternate" title="{{ SITENAME }} RSS Feed" />
- {% endif %}
- <link rel="icon" type="image/ico" href="{{ SITEURL }}/icons/sleepmap.ico">
- </head>
-
- <body id="index" class="home">
- <header id="banner">
- <h1>
- <a href="{{ SITEURL }}">{{ SITENAME }} </a>
- {% if SITESUBTITLE %} <strong>{{ SITESUBTITLE }}</strong>{% endif %}
- </h1>
- </header> <!--/#banner-->
- <header id="sidemenu" class="body">
- <nav>
- <h2 class="menuheader">Menu</h2>
- <ul>
- {% for title, link in MENUITEMS %}
- <li><a href="{{ link }}">{{ title }}</a></li>
- {% endfor %}
- {% if DISPLAY_PAGES_ON_MENU != False %}
- {% for p in pages %}
- {% if p.title == "Software" or p.title == "Hardware" or p.title == "Music" or p.title == "Installations" or p.title == "About" or p.title == "Contact" or p.title == "Photos" %}
- <li {% if p == page %}class="active"{% endif %}>
- <a href="{{ SITEURL }}/{{ p.url }}">{{ p.title }}</a>
- <ul>
- {% for child in p.children %}
- <li {% if child == page %}class="active"{% endif %}>
- <a href="{{ SITEURL }}/{{ child.url }}">{{ child.title }}</a>
- </li>
- {% endfor %}
- </ul>
- </li>
- {% endif %}
- {% endfor %}
- {% endif %}
- </ul>
- <h2>Categories</h2>
- <ul>
- {% for cat, null in categories %}
- <li {% if cat == category %}class="active"{% endif %}><a href="{{ SITEURL }}/{{ cat.url }}">{{ cat }}</a></li>
- {% endfor %}
- </ul>
- {% if LINKS %}
- <h2>Links</h2>
- <ul>
- {% for name, link in LINKS %}
- <li><a href="{{ link }}" target="_blank">{{ name }}</a></li>
- {% endfor %}
- </ul>
- {% endif %}
- {% if SOCIAL %}
- <h2>Social</h2>
- <ul class="social">
- <li>
- <a href="{{ SITEURL }}/{{ FEED_ALL_ATOM }}" rel="alternate">atom feed</a>
- </li>
- {% if FEED_RSS %}
- <li>
- <a href="{{ SITEURL }}/{{ FEED_RSS }}" rel="alternate">rss feed</a>
- </li>
- {% endif %}
- {% for name, link in SOCIAL %}
- <li>
- <a href="{{ link }}" target="_blank">{{ name }}</a>
- </li>
- {% endfor %}
- </ul>
- {% endif %}
- </nav>
- </header><!-- /#sidemenu -->
- {% block content %}
- {% endblock %}
- </body>
-</html>
diff --git a/sleepmap-theme/templates/categories.html b/sleepmap-theme/templates/categories.html
deleted file mode 100644
index 7e4bd2c..0000000
--- a/sleepmap-theme/templates/categories.html
+++ /dev/null
@@ -1,8 +0,0 @@
-{% extends "base.html" %}
-{% block content %}
-<ul>
-{% for category, articles in categories %}
- <li>{{ category }}</li>
-{% endfor %}
-</ul>
-{% endblock %}
diff --git a/sleepmap-theme/templates/category.html b/sleepmap-theme/templates/category.html
deleted file mode 100644
index 56f8e93..0000000
--- a/sleepmap-theme/templates/category.html
+++ /dev/null
@@ -1,2 +0,0 @@
-{% extends "index.html" %}
-{% block title %}{{ SITENAME }} - {{ category }}{% endblock %}
diff --git a/sleepmap-theme/templates/index.html b/sleepmap-theme/templates/index.html
deleted file mode 100644
index 18cde9c..0000000
--- a/sleepmap-theme/templates/index.html
+++ /dev/null
@@ -1,47 +0,0 @@
-{% extends "base.html" %}
-{% block content_title %}{% endblock %}
-{% block content %}
-{% if articles %}
-{% for article in articles %}
- {% if loop.index == 1 %}
- <section id="content" class="body">
- <aside id="featured">
- <article class="hentry">
- <header>
- <h1 class="entry-title">
- <a href="{{ SITEURL }}/{{ article.url}}">{{ article.title }}</a>
- </h1>
- {% include 'taglist.html' %}
- </header>
- {{ article.content }}
- {% include 'article_infos.html' %}<!-- /.post-info -->
- </article>
- </aside><!-- /#featured -->
- {% if loop.length > 1 %}
- <ol id="posts-list" class="hfeed">
- {% endif %}
- {% else %}
- <li><article class="hentry">
- <header>
- <h1><a href="{{ SITEURL }}/{{ article.url }}" rel="bookmark" title="Permalink to {{ article.title|striptags }}">{{ article.title }}</a></h1>
- {% include 'taglist.html' %}
- </header>
- <div class="entry-content">
- {{ article.summary }}
- <a class="readmore" href="{{ SITEURL }}/{{ article.url }}">read more</a>
- </div><!-- /.entry-content -->
- {% include 'article_infos.html' %}<!-- /.post-info -->
- </article></li>
- {% endif %}
-{% endfor %}
-</ol><!-- /#posts-list -->
-</section><!-- /#content -->
-{% else %}
-<section id="content" class="body">
-<h2>Pages</h2>
-{% for page in PAGES %}
- <li><a href="{{ SITEURL }}/{{ page.url }}">{{ page.title }}</a></li>
-{% endfor %}
-</section>
-{% endif %}
-{% endblock content %}
diff --git a/sleepmap-theme/templates/page.html b/sleepmap-theme/templates/page.html
deleted file mode 100644
index b7103d3..0000000
--- a/sleepmap-theme/templates/page.html
+++ /dev/null
@@ -1,10 +0,0 @@
-{% extends "base.html" %}
-{% block title %}{{ page.title }}{% endblock %}
-{% block content %}
-<section id="content" class="body">
- <main class="hentry">
- <h1 class="entry-title">{{ page.title }}</h1>
- {{ page.content }}
- </main>
-</section>
-{% endblock %}
diff --git a/sleepmap-theme/templates/tag.html b/sleepmap-theme/templates/tag.html
deleted file mode 100644
index 68cdcba..0000000
--- a/sleepmap-theme/templates/tag.html
+++ /dev/null
@@ -1,2 +0,0 @@
-{% extends "index.html" %}
-{% block title %}{{ SITENAME }} - {{ tag }}{% endblock %}
diff --git a/sleepmap-theme/templates/taglist.html b/sleepmap-theme/templates/taglist.html
deleted file mode 100644
index 860c11e..0000000
--- a/sleepmap-theme/templates/taglist.html
+++ /dev/null
@@ -1 +0,0 @@
-{% if article.tags %}<p>tags: {% for tag in article.tags %}<a href="{{ SITEURL }}/{{ tag.url }}">{{ tag }}</a>{% endfor %}</p>{% endif %}
diff --git a/sleepmap-theme/templates/tags.html b/sleepmap-theme/templates/tags.html
deleted file mode 100644
index e69de29..0000000
--- a/sleepmap-theme/templates/tags.html
+++ /dev/null
diff --git a/sleepmap-theme/templates/translations.html b/sleepmap-theme/templates/translations.html
deleted file mode 100644
index f0a0fa2..0000000
--- a/sleepmap-theme/templates/translations.html
+++ /dev/null
@@ -1,6 +0,0 @@
-{% if article.translations %}
-Translations:
- {% for translation in article.translations %}
- <a href="{{ SITEURL }}/{{ translation.url }}">{{ translation.lang }}</a>
- {% endfor %}
-{% endif %} \ No newline at end of file
diff --git a/sleepmap-theme/templates/twitter.html b/sleepmap-theme/templates/twitter.html
deleted file mode 100644
index c6b159f..0000000
--- a/sleepmap-theme/templates/twitter.html
+++ /dev/null
@@ -1,3 +0,0 @@
-{% if TWITTER_USERNAME %}
-<a href="http://twitter.com/share" class="twitter-share-button" data-count="horizontal" data-via="{{TWITTER_USERNAME}}">Tweet</a><script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script>
-{% endif %} \ No newline at end of file