summaryrefslogtreecommitdiff
path: root/templates/article.html
diff options
context:
space:
mode:
authorMatthias Andreas Benkard <code@mail.matthias.benkard.de>2011-03-12 15:45:53 +0100
committerMatthias Andreas Benkard <code@mail.matthias.benkard.de>2011-03-12 15:45:53 +0100
commit9c1d0dd3041f1a062f2d9708c0dc6eaa7f089c80 (patch)
tree17e3f101f557ae049454038a7d1a1a38feb5f208 /templates/article.html
parent7d9f81622846a5d775703b765819d887f23dd29c (diff)
Calculate the number of comments for each article. Add Google Code Prettify.
Diffstat (limited to 'templates/article.html')
-rw-r--r--templates/article.html4
1 files changed, 3 insertions, 1 deletions
diff --git a/templates/article.html b/templates/article.html
index 61cc9de..8be086b 100644
--- a/templates/article.html
+++ b/templates/article.html
@@ -1,4 +1,5 @@
<article>
+<div class="article">
<h1><a href="{link|html-attr-value}">{title|html}</a></h1>
<div class="article-header">
@@ -32,10 +33,11 @@
<a href="{comments-link|html-attr-value}">{comments-label|html}</a>
</footer>
</div>
+</div>
</article>
{.section commentary}
-<div class="comments">
+<div class="comments" id="comments">
<h2>{comments-heading|html}</h2>
{.repeated section comments}