makefile corrections + esoteric math rendering

This commit is contained in:
Levi Neuwirth 2026-04-05 12:00:07 -04:00
parent 02b7694bfe
commit c864e2f9cc
3 changed files with 3 additions and 3 deletions

View File

@ -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)/

View File

@ -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

View File

@ -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
-- ---------------------------------------------------------------------------