diff --git a/Makefile b/Makefile index 5f3e0fe..23c19bb 100644 --- a/Makefile +++ b/Makefile @@ -53,7 +53,7 @@ pdf-thumbs: echo "pdf-thumbs: pdftoppm not found — install poppler (skipping)"; \ fi -deploy: build sign +deploy: clean build sign git push -u origin main rsync -avz --delete _site/ $(VPS_USER)@$(VPS_HOST):$(VPS_PATH)/ diff --git a/build/Contexts.hs b/build/Contexts.hs index e51981b..937312c 100644 --- a/build/Contexts.hs +++ b/build/Contexts.hs @@ -139,7 +139,7 @@ abstractField = field "abstract" $ \item -> do let doc' = case doc of Pandoc m [Para ils] -> Pandoc m [Plain ils] _ -> doc - let wOpts = defaultHakyllWriterOptions { writerHTMLMathMethod = KaTeX "" } + let wOpts = defaultHakyllWriterOptions { writerHTMLMathMethod = MathML } writeHtml5String wOpts doc' case pandocResult of Left err -> fail $ "Pandoc error rendering abstract: " ++ show err diff --git a/build/Tags.hs b/build/Tags.hs index b6ad4fa..874a58d 100644 --- a/build/Tags.hs +++ b/build/Tags.hs @@ -66,7 +66,7 @@ buildAllTags :: Rules Tags buildAllTags = buildTagsWith getExpandedTags allContent tagIdentifier where - allContent = ("content/essays/*.md" .||. "content/blog/*.md") .&&. hasNoVersion + allContent = ("content/essays/*.md" .||. "content/essays/*/index.md" .||. "content/blog/*.md") .&&. hasNoVersion -- ---------------------------------------------------------------------------