From 70685312bff94b99e390c8dc7ab2a0a28c826339 Mon Sep 17 00:00:00 2001 From: Lucian Mogosanu Date: Sun, 10 Nov 2013 10:54:59 +0200 Subject: [PATCH] site: use mathjax to render math That's because Google don't have the common sense to support MathML. --- site.hs | 2 +- templates/default.html | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) 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 @@ + -- 1.7.10.4