summaryrefslogtreecommitdiff
path: root/design/templates
diff options
context:
space:
mode:
Diffstat (limited to 'design/templates')
-rw-r--r--design/templates/admin/buttons.html6
-rw-r--r--design/templates/base.html2
-rw-r--r--design/templates/blog/entry_detail.txt8
-rw-r--r--design/templates/feed.xml26
4 files changed, 38 insertions, 4 deletions
diff --git a/design/templates/admin/buttons.html b/design/templates/admin/buttons.html
index d9d3171..7c6a115 100644
--- a/design/templates/admin/buttons.html
+++ b/design/templates/admin/buttons.html
@@ -39,9 +39,9 @@
{%endif%}
<div class="grp-module">
<ul class="grp-listing-small cust">
- <li class="item"><a href="/admin/build/build?id=builddetails">Build Writing Details</a></li>
- <li class="item"><a href="/admin/build/build?id=writingarchives">Build Writing Archives</a></li>
- <li class="item"><a href="/admin/build/build?id=homepage">Build Homepage</a></li>
+ <li class="item"><a href="/admin/build/build?id=essays">Build Essays</a></li>
+ <li class="item"><a href="/admin/build/build?id=links">Build links</a></li>
+ <li class="item"><a href="/admin/build/build?id=home">Build Homepage</a></li>
<li class="item"><a href="/admin/build/build?id=sitemap">Build Sitemap</a></li>
<li class="item"><a href="/admin/build/build?id=buildrss">Build RSS</a></li>
<li class="item"><a href="/admin/build/build?id=pages">Build All Pages</a></li>
diff --git a/design/templates/base.html b/design/templates/base.html
index 9be4f51..7e48bc5 100644
--- a/design/templates/base.html
+++ b/design/templates/base.html
@@ -42,7 +42,7 @@
<footer>
<ul class="nav-menu footer-nav-menu">
<li><a href="/contact" title="How to get in touch regarding Libregraf">Contact</a></li>
- <li><a href="/rss" title="RSS feed">RSS</a></li>
+ <li><a href="/rss/index.xml" title="RSS feed">RSS</a></li>
<li><a href="" title="Libregraf on twitter">Twitter</a></li>
</ul>
<p class="hed-tertiary">
diff --git a/design/templates/blog/entry_detail.txt b/design/templates/blog/entry_detail.txt
new file mode 100644
index 0000000..547ce79
--- /dev/null
+++ b/design/templates/blog/entry_detail.txt
@@ -0,0 +1,8 @@
+{{object.title|safe}}
+{% for letter in object.title %}={%endfor%}
+
+ by Scott Gilbertson
+ <{{SITE_URL}}{{object.get_absolute_url}}>
+ {{object.pub_date|date:"l, d F Y"}}
+
+{{object.body_markdown|safe}}
diff --git a/design/templates/feed.xml b/design/templates/feed.xml
new file mode 100644
index 0000000..7745976
--- /dev/null
+++ b/design/templates/feed.xml
@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!-- RSS generated by luxpub v2.0 on {% now "D, d M Y H:i:00" %} GMT -->
+<rss version="2.0">
+ <channel>
+ <title>Libregraf</title>
+ <link>https://libregraf.net/</link>
+ <description>Latest posts on libregraf.net</description>
+ <language>en-us</language>
+ <copyright>Copyright 2011-{% now "Y" %} Libregraf</copyright>
+ <pubDate>{% now "D, d M Y H:i:00" %} GMT</pubDate>
+ <lastBuildDate>{% now "D, d M Y H:i:00" %} GMT</lastBuildDate>
+ <docs>http://cyber.law.harvard.edu/rss/rss.html</docs>
+ <generator>IPpub v2.0</generator>
+ <managingEditor>comments@libregraf.net</managingEditor>
+ <webMaster>comments@libregraf.net</webMaster>{% for object in object_list %}
+ <item>
+ <title>{{object.title|escape}}</title>
+ <link>{{SITE_URL}}{{object.get_absolute_url}}</link>
+ <guid>{{SITE_URL}}{{object.get_absolute_url}}</guid>
+ <description>
+ {{object.body_html|escape}}
+ </description>
+ <pubDate>{{object.pub_date|date:'D, d M Y H:i:00'}} EST</pubDate>
+ </item>{% endfor %}
+ </channel>
+</rss>