diff options
| author | Jakob L. Kreuze <zerodaysfordays@sdf.lonestar.org> | 2019-04-29 19:37:51 -0400 |
|---|---|---|
| committer | Jakob L. Kreuze <zerodaysfordays@sdf.lonestar.org> | 2019-04-29 19:37:51 -0400 |
| commit | 8e2c643910c5af4d7fa9ce78f417efb3f78bc2ba (patch) | |
| tree | 406e5d6d8e4ad5d947b91516cc614e8f6215ae66 /haunt.scm | |
| parent | 9cfb91ab031046161ba8241e6e360d52b8f5ee5c (diff) | |
Implement syntax highlighting
Diffstat (limited to 'haunt.scm')
| -rw-r--r-- | haunt.scm | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -93,7 +93,10 @@ (meta (@ (charset "utf-8"))) (title ,(string-append title " — " (site-title site))) ,(stylesheet "fonts") - ,(stylesheet "jakob")) + ,(stylesheet "highlight") + ,(stylesheet "jakob") + (script (@ (src "/js/highlight.pack.js"))) + (script "hljs.initHighlightingOnLoad()")) (body (div (@ (class "container")) (div (@ (class "nav")) @@ -170,5 +173,6 @@ free culture works available under the " ,%cc-by-sa-link " license.") about-page projects-page (static-directory "css") + (static-directory "js") (static-directory "fonts") (static-directory "images"))) |