From: Lucian Mogosanu Date: Sun, 10 Nov 2013 08:54:59 +0000 (+0200) Subject: site: use mathjax to render math X-Git-Tag: v0.3~9 X-Git-Url: https://git.mogosanu.ro/?a=commitdiff_plain;h=70685312bff94b99e390c8dc7ab2a0a28c826339;p=thetarpit.git site: use mathjax to render math That's because Google don't have the common sense to support MathML. --- diff --git a/site.hs b/site.hs index bc6954d..e3e2d82 100644 --- a/site.hs +++ b/site.hs @@ -144,7 +144,7 @@ tarpitReaderOptions = defaultHakyllReaderOptions tarpitWriterOptions :: WriterOptions tarpitWriterOptions = defaultHakyllWriterOptions - { writerHTMLMathMethod = MathML Nothing } + { writerHTMLMathMethod = MathJax "" } -- tarpit compiler tarpitCompiler :: Compiler (Item String) diff --git a/templates/default.html b/templates/default.html index bddb6a7..5bed387 100644 --- a/templates/default.html +++ b/templates/default.html @@ -9,6 +9,9 @@ +