From bd942f2d4f6df52e2aa4ff44d4050da0f260d76e Mon Sep 17 00:00:00 2001 From: The Dod Date: Mon, 5 Nov 2012 12:51:12 +0700 Subject: initial commit --- waterspill-en/templates/analytics.html | 11 +++ waterspill-en/templates/archives.html | 25 ++++++ waterspill-en/templates/article.html | 37 +++++++++ waterspill-en/templates/base.html | 131 ++++++++++++++++++++++++++++++++ waterspill-en/templates/categories.html | 18 +++++ waterspill-en/templates/category.html | 2 + waterspill-en/templates/index.html | 46 +++++++++++ waterspill-en/templates/page.html | 16 ++++ waterspill-en/templates/tag.html | 2 + waterspill-en/templates/tags.html | 10 +++ waterspill-en/templates/twitter.html | 3 + 11 files changed, 301 insertions(+) create mode 100644 waterspill-en/templates/analytics.html create mode 100644 waterspill-en/templates/archives.html create mode 100644 waterspill-en/templates/article.html create mode 100644 waterspill-en/templates/base.html create mode 100644 waterspill-en/templates/categories.html create mode 100644 waterspill-en/templates/category.html create mode 100644 waterspill-en/templates/index.html create mode 100644 waterspill-en/templates/page.html create mode 100644 waterspill-en/templates/tag.html create mode 100644 waterspill-en/templates/tags.html create mode 100644 waterspill-en/templates/twitter.html (limited to 'waterspill-en/templates') diff --git a/waterspill-en/templates/analytics.html b/waterspill-en/templates/analytics.html new file mode 100644 index 0000000..f19c7a6 --- /dev/null +++ b/waterspill-en/templates/analytics.html @@ -0,0 +1,11 @@ +{% if GOOGLE_ANALYTICS %} + + +{% endif %} diff --git a/waterspill-en/templates/archives.html b/waterspill-en/templates/archives.html new file mode 100644 index 0000000..c485aeb --- /dev/null +++ b/waterspill-en/templates/archives.html @@ -0,0 +1,25 @@ +{% extends "base.html" %} +{% block title %}Archives of {{ SITENAME }}{% endblock %} +{% block content %} + +
+
+

Archives of {{ SITENAME }}

+ {% for article in dates %} +
{{ article.locale_date }}
+
{{ article.title }}
+ + {% endfor %} +
+ + +
+ + + +{% endblock %} + + + + + diff --git a/waterspill-en/templates/article.html b/waterspill-en/templates/article.html new file mode 100644 index 0000000..dcef284 --- /dev/null +++ b/waterspill-en/templates/article.html @@ -0,0 +1,37 @@ +{% extends "base.html" %} +{% block title %}{{ article.title }}{% endblock %} +{% block content %} + + +
+ +

{{ article.title }}

+

{{ article.locale_date }}

+ + {{ article.content }} + {% include 'twitter.html' %} + +

By {{ article.author }}{% if not SUPPRESS_ITEM_CATEGORIES %}, Category: {{ article.category }}{% endif %}

+

Tags: {% for tag in article.tags %} +{{ tag }} / +{% endfor %}

+ +
+{% if DISQUS_SITENAME %} +
+ +

Comments

+
+ +
+ {% endif %} + + +{% endblock %} diff --git a/waterspill-en/templates/base.html b/waterspill-en/templates/base.html new file mode 100644 index 0000000..3ba518c --- /dev/null +++ b/waterspill-en/templates/base.html @@ -0,0 +1,131 @@ + + + + + + + + {% block title %}{{ SITENAME }}{%endblock%} + + +{% if FEED_RSS %} + +{% endif %} + + + + + + + +
+ + + + + + + +
+ + {% block content %} + {% endblock %} + +
+ +
+ + + +
+{% include 'analytics.html' %} + + diff --git a/waterspill-en/templates/categories.html b/waterspill-en/templates/categories.html new file mode 100644 index 0000000..b32f5cb --- /dev/null +++ b/waterspill-en/templates/categories.html @@ -0,0 +1,18 @@ +{% extends "base.html" %} +{% block content %} + +
+ {% if articles %} + {% for article in articles %} + {% if loop.index == 1 %} + + {% endif %} + {% endfor %} + {% endif %} +
+ +{% endblock %} diff --git a/waterspill-en/templates/category.html b/waterspill-en/templates/category.html new file mode 100644 index 0000000..56f8e93 --- /dev/null +++ b/waterspill-en/templates/category.html @@ -0,0 +1,2 @@ +{% extends "index.html" %} +{% block title %}{{ SITENAME }} - {{ category }}{% endblock %} diff --git a/waterspill-en/templates/index.html b/waterspill-en/templates/index.html new file mode 100644 index 0000000..fecab05 --- /dev/null +++ b/waterspill-en/templates/index.html @@ -0,0 +1,46 @@ +{% extends "base.html" %} +{% block content_title %}{% endblock %} +{% block content %} + {% if articles %} + {% for article in articles %} + {% if loop.index == 1 %} + +
+ +

{{ article.title }}

+

{{ article.locale_date }}

+ + {{ article.content }} + + +

By {{ article.author }}{% if not SUPPRESS_ITEM_CATEGORIES %}, Category: {{ article.category }}{% endif %}

+ {% if article.tags %}

Tags: {% for tag in article.tags %} +{{ tag }} / +{% endfor %}

{% endif %} + +
+ {% if loop.length > 1 %} +
+

Other articles

+
+{% endif %} +{% else %} +
+ +

{{ article.title }}

+

{{ article.locale_date }}

+ + {{ article.summary }} +

By {{ article.author }}{% if not SUPPRESS_ITEM_CATEGORIES %}, Category: {{ article.category }}{% endif %}

+ Cuntinue reading … + + + + +
+ {% endif %} +{% endfor %} +{% else %} + +{% endif %} +{% endblock content %} diff --git a/waterspill-en/templates/page.html b/waterspill-en/templates/page.html new file mode 100644 index 0000000..f9a091a --- /dev/null +++ b/waterspill-en/templates/page.html @@ -0,0 +1,16 @@ +{% extends "base.html" %} +{% block title %}{{ page.title }}{% endblock %} +{% block content %} + +
+

{{ page.title }}

+ {{ page.content }} + {% include 'twitter.html' %} + + {% if PDF_PROCESSOR %}

get + the pdf

{% endif %} + + +
+ +{% endblock %} diff --git a/waterspill-en/templates/tag.html b/waterspill-en/templates/tag.html new file mode 100644 index 0000000..68cdcba --- /dev/null +++ b/waterspill-en/templates/tag.html @@ -0,0 +1,2 @@ +{% extends "index.html" %} +{% block title %}{{ SITENAME }} - {{ tag }}{% endblock %} diff --git a/waterspill-en/templates/tags.html b/waterspill-en/templates/tags.html new file mode 100644 index 0000000..1fd478c --- /dev/null +++ b/waterspill-en/templates/tags.html @@ -0,0 +1,10 @@ +{% extends "base.html" %} +{% block content %} +
+ +
+{% endblock %} diff --git a/waterspill-en/templates/twitter.html b/waterspill-en/templates/twitter.html new file mode 100644 index 0000000..94a9ba9 --- /dev/null +++ b/waterspill-en/templates/twitter.html @@ -0,0 +1,3 @@ +{% if TWITTER_USERNAME %} +Tweet +{% endif %} -- cgit