diff --git a/www/conservancy/templates/base_blog.html b/www/conservancy/templates/base_blog.html new file mode 100644 index 0000000000000000000000000000000000000000..d5c1ff47d7d56f9e5a716abd8bd348d24284c9b5 --- /dev/null +++ b/www/conservancy/templates/base_blog.html @@ -0,0 +1,30 @@ +{% extends "base_standard.html" %} + +{% block category %}blog{% endblock %} + +{% block head %} + +{% endblock %} + +{% block internal_navigate %} + +

Authors

+ + +

Tags

+ + +

All posts...

+

Query...

+ +{% endblock %} diff --git a/www/conservancy/templates/blog/entry_archive_day.html b/www/conservancy/templates/blog/entry_archive_day.html new file mode 100644 index 0000000000000000000000000000000000000000..7c607ad7095e86f1fc7af45b993fd5ac8266611c --- /dev/null +++ b/www/conservancy/templates/blog/entry_archive_day.html @@ -0,0 +1,20 @@ +{% extends "base_blog.html" %} + +{% block subtitle %}Conservancy Blog Archive: {{ day|date:"F j, Y" }} - {% endblock %} + +{% block content %} + +

Conservancy Blog Archive: {{ day|date:"F j, Y" }}

+ +{% for object in object_list %} +
+

{{ object.pub_date|date:"F j, Y" }}

+

{{ object.headline|safe }}

+ {{ object.summary|safe }} +

Read More...

+

Posted by {{ object.author.formal_name }} on {{ object.pub_date|date:"F j, Y" }}

+ {% if object.tags.all %}

Tags: {% for tag in object.tags.all %}{{ tag.label }}{% if not forloop.last %}, {% endif %}{% endfor %}

{% endif %} +
+{% endfor %} + +{% endblock %} diff --git a/www/conservancy/templates/blog/entry_archive_month.html b/www/conservancy/templates/blog/entry_archive_month.html new file mode 100644 index 0000000000000000000000000000000000000000..e298a46d847f10209f2dff2a1a4bd4e074fff66b --- /dev/null +++ b/www/conservancy/templates/blog/entry_archive_month.html @@ -0,0 +1,20 @@ +{% extends "base_blog.html" %} + +{% block subtitle %}Conservancy Blog Archive: {{ month|date:"F, Y" }} - {% endblock %} + +{% block content %} + +

Conservancy Blog Archive: {{ month|date:"F, Y" }}

+ +{% for object in object_list %} +
+

{{ object.pub_date|date:"F j, Y" }}

+

{{ object.headline|safe }}

+ {{ object.summary|safe }} +

Read More...

+

Posted by {{ object.author.formal_name }} on {{ object.pub_date|date:"F j, Y" }}

+ {% if object.tags.all %}

Tags: {% for tag in object.tags.all %}{{ tag.label }}{% if not forloop.last %}, {% endif %}{% endfor %}

{% endif %} +
+{% endfor %} + +{% endblock %} diff --git a/www/conservancy/templates/blog/entry_archive_year.html b/www/conservancy/templates/blog/entry_archive_year.html new file mode 100644 index 0000000000000000000000000000000000000000..76628ce5e25410db4b384bdddced4802d2f8758f --- /dev/null +++ b/www/conservancy/templates/blog/entry_archive_year.html @@ -0,0 +1,16 @@ +{% extends "base_blog.html" %} + +{% block subtitle %}Conservancy Blog Archive: {{ year }} - {% endblock %} + +{% block content %} + +

Conservancy Blog Archive: {{ year }}

+ + + +{% endblock %} diff --git a/www/conservancy/templates/blog/entry_detail.html b/www/conservancy/templates/blog/entry_detail.html new file mode 100644 index 0000000000000000000000000000000000000000..45a86e6e7a5db05ed52571aec8cc92159d7c0f79 --- /dev/null +++ b/www/conservancy/templates/blog/entry_detail.html @@ -0,0 +1,16 @@ +{% extends "base_blog.html" %} + +{% block subtitle %}{{ object.headline|striptags }} - Conservancy Blog - {% endblock %} + +{% block content %} + +

{{ object.pub_date|date:"F j, Y" }} by {{ object.author.formal_name }}

+

{{ object.headline|safe }}

+{{ object.body|safe }} +

Posted by {{ object.author.formal_name }} on {{ object.pub_date|date:"F j, Y" }}. Please email any comments on this entry to press@softwarefreedom.org.

+ +{% if object.tags.all %}

Tags: {% for tag in object.tags.all %}{{ tag.label }}{% if not forloop.last %}, {% endif %}{% endfor %}

{% endif %} + +

Other Conservancy Blog entries...

+ +{% endblock %} diff --git a/www/conservancy/templates/blog/entry_list.html b/www/conservancy/templates/blog/entry_list.html new file mode 100644 index 0000000000000000000000000000000000000000..d63cc040fce5a47124a2d4047f8aef5f0ac62458 --- /dev/null +++ b/www/conservancy/templates/blog/entry_list.html @@ -0,0 +1,38 @@ +{% extends "base_blog.html" %} +{% block subtitle %}Conservancy Blog - {% endblock %} + +{% block content %} + +

[RSS] Conservancy Blog{% if author %} — {{ author.formal_name }}{% endif %}

+ +{% if authors or tags %} +

Displaying posts +{% if authors %}by {% for author in authors %}{% if not forloop.last %}{% if not forloop.first %}, {% endif %}{% endif %}{{ author.formal_name }}{% ifequal forloop.revcounter 2 %} and {% endifequal %}{% endfor %}{% endif %} +{% if tags %}tagged {% for tag in tags %}{% if not forloop.last %}{% if not forloop.first %}, {% endif %}{% endif %}{{ tag.label }}{% ifequal forloop.revcounter 2 %} or {% endifequal %}{% endfor %}{% endif %} +

+{% endif %} + +{% for object in object_list %} +
+

{{ object.pub_date|date:"F j, Y" }} by {{ object.author.formal_name }}

+

{{ object.headline|safe }}

+ {{ object.body|safe }} +

Posted by {{ object.author.formal_name }} on {{ object.pub_date|date:"F j, Y" }}

+ {% if object.tags.all %}

Tags: {% for tag in object.tags.all %}{{ tag.label }}{% if not forloop.last %}, {% endif %}{% endfor %}

{% endif %} +
+{% endfor %} + +

+{% if has_next %}Next page (older) »{% endif %} +{% if has_previous %}« Previous page (newer){% endif %} +

+
+ +{% if date_list %} +

Index by date

+ +{% endif %} + +{% endblock %} diff --git a/www/conservancy/templates/blog/query.html b/www/conservancy/templates/blog/query.html new file mode 100644 index 0000000000000000000000000000000000000000..661700b4a38668eb3bea0fb55fd3f63a75ed1850 --- /dev/null +++ b/www/conservancy/templates/blog/query.html @@ -0,0 +1,75 @@ +{% extends "base_blog.html" %} +{% block subtitle %}Conservancy Blog Query - {% endblock %} + +{% block head %} + + + +{% endblock %} + +{% block content %} + +
+ +

Return posts written by any of these authors...

+ +
+ +

+ +
+{% for author in authors %} + {% cycle ,,
%} +{% endfor %} +
+ +
+ +

marked with any of these tags...

+ +
+ +

+ +
+{% for tag in tags %} + {% cycle ,,
%} +{% endfor %} +
+ +
+ +

+

+ +
+ +{% endblock %} + +{# get rid of side bar #} +{% block internal_navigate %}{% endblock %}