summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorMatthias Andreas Benkard <code@mail.matthias.benkard.de>2011-03-02 14:43:07 +0100
committerMatthias Andreas Benkard <code@mail.matthias.benkard.de>2011-03-02 14:43:07 +0100
commit567516069ec273488e059e9b6e91a4798b5458b9 (patch)
treecddbc63ec1156d79715524262a917d32a71c07a1 /templates
parent4d2fe2ddf0f9dc74576a514652407caa8ac8b5ba (diff)
Add article template.
Diffstat (limited to 'templates')
-rw-r--r--templates/article.html35
1 files changed, 35 insertions, 0 deletions
diff --git a/templates/article.html b/templates/article.html
new file mode 100644
index 0000000..d3d46c3
--- /dev/null
+++ b/templates/article.html
@@ -0,0 +1,35 @@
+<article>
+ <h1><a href="{link|html-attr-value}">{title|html}</a></h1>
+
+ <div class="article-header">
+ <header>
+ <span class="article-date">
+ <time pubdate="pubdate" datetime="{publishing_date|html_iso_date}">
+ {publishing_date|html_human_date}
+ </time>
+ </span>
+ </header>
+ </div>
+
+ <div class="article-body">
+ {body}
+ </div>
+
+ <div class="article-footer">
+ <footer>
+ <form class="article-edit-button-form"
+ style="display: inline;"
+ action="{edit-link|html-attr-value}"
+ method="get">
+ <div style="display: inline;">
+ <input name="id" type="hidden" value="106" />
+ <input type="submit" value="{edit-button-label|html-attr-value}" />
+ </div>
+ </form>
+ |
+ <a href="{comment-feed|html-attr-value}">{comment-feed-label|html}</a>
+ |
+ <a href="{comment-feed|html-attr-value}">{comments-label|html}</a>
+ </footer>
+ </div>
+</article>