From eff4b0bbf6518333d9da9932cd24e14e2e024fb4 Mon Sep 17 00:00:00 2001 From: "Yann Esposito (Yogsototh)" Date: Sat, 27 Jun 2020 14:25:53 +0200 Subject: [PATCH] remove js entirely --- Shakefile.hs | 3 +++ src/demo.org | 3 ++- src/index.org | 3 --- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/Shakefile.hs b/Shakefile.hs index 90ae396..9d9ade8 100644 --- a/Shakefile.hs +++ b/Shakefile.hs @@ -31,7 +31,9 @@ import Text.Pandoc.Definition ( Pandoc(..) import Text.Pandoc.Options ( ReaderOptions(..) , WriterOptions(..) , ObfuscationMethod(..) + , HTMLMathMethod(..) ) + import qualified Text.Pandoc.Readers as Readers import Text.Pandoc.Walk (Walkable(..)) import qualified Text.Pandoc.Writers as Writers @@ -238,6 +240,7 @@ genHtml bp = do Writers.writeHtml5String (def { writerTableOfContents = postToc bp , writerEmailObfuscation = ReferenceObfuscation + , writerHTMLMathMethod = MathML }) htmlBody body <- case eitherHtml of diff --git a/src/demo.org b/src/demo.org index 131689a..e80b366 100644 --- a/src/demo.org +++ b/src/demo.org @@ -93,7 +93,8 @@ k l m n o p q r s t u v w x y z :PROPERTIES: :CUSTOM_ID: math :END: -Let also try to write some math inside the text $\pi_1(X,x_0)$ +Let also try to write some math inside the text $\pi_1(X,x_0)$. +In the middle of the text again $x$ and $x_i\times 0$. \(x^y / \log(x)\) diff --git a/src/index.org b/src/index.org index a916b36..43559d3 100644 --- a/src/index.org +++ b/src/index.org @@ -62,6 +62,3 @@ priority: 5. *Frugal*; try to minimize the resources needed to visit my website; no javascript, no web-font, not too much CSS magic, not much images or really compressed one. - -If you are interested about technical details behind this website, take a -look [[file:./posts/new-blog.org][here]].