summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Benkard <code@mail.matthias.benkard.de>2009-12-07 10:31:42 +0100
committerMatthias Benkard <code@mail.matthias.benkard.de>2009-12-07 10:31:42 +0100
commitbee2ad6b86c9837a0f3858db5f29337f1477b143 (patch)
treeae89764851d0e461c79ee61af31bc3370ab5450b
parente0393595944dd73fd67dbbc8dd0e9ee7d3767f52 (diff)
Include the Google Code Prettifier on every web page.
Ignore-this: efa4242f78c66229d342f3d6aa74db91 darcs-hash:c1d3a0390b39ac4ddb600b093cc721a4d31dc923
-rwxr-xr-xjournal.lisp5
1 files changed, 5 insertions, 0 deletions
diff --git a/journal.lisp b/journal.lisp
index 83fc394..e120c21 100755
--- a/journal.lisp
+++ b/journal.lisp
@@ -50,6 +50,8 @@
(:save (values "/~D/save" post-id))
(:moderation-page "/moderate")
(:css "/journal.css")
+ (:prettify.css "/prettify/prettify.css")
+ (:prettify.js "/prettify/prettify.js")
(:pingback "/rpc")))))
@@ -477,6 +479,9 @@
(<:link :rel "openid.delegate" :href "https://matthias.benkard.meinguter.name")
(when canonical-uri
(<:link :rel "canonical" :type "text/html" :href canonical-uri)))
+ ;; Google Code Prettifier.
+ (<:link :rel "stylesheet" :type "text/css" :href (link-to :prettify.css))
+ (<:script :type "text/javascript" :src (link-to :prettify.js))
(<:body
(<:div :id :main-title-box
(<:h1 :id :main-title