summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/article.html4
-rw-r--r--templates/journal_page.html7
-rw-r--r--templates/page_skeleton.html2
3 files changed, 9 insertions, 4 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}
diff --git a/templates/journal_page.html b/templates/journal_page.html
index d567d2f..828ec31 100644
--- a/templates/journal_page.html
+++ b/templates/journal_page.html
@@ -1,6 +1,9 @@
{.section head}
-<link rel="stylesheet" type="text/css"
- href="{root|html-attr-value}/style/journal.css" />
+ <link rel="stylesheet" type="text/css"
+ href="{root|html-attr-value}style/journal.css" />
+ <link href="/journal/prettify/prettify.css" rel="stylesheet" type="text/css" />
+ <script type="text/javascript" src="/journal/prettify/prettify.js"></script>
+ <script type="text/javascript" src="/journal/prettify/lang-lisp.js"></script>
{.end}
{.section body}
diff --git a/templates/page_skeleton.html b/templates/page_skeleton.html
index daa8781..842b617 100644
--- a/templates/page_skeleton.html
+++ b/templates/page_skeleton.html
@@ -8,7 +8,7 @@
{head}
</head>
- <body>
+ <body onload="if (prettyPrint) prettyPrint();">
{body}
</body>
</html>