makefile corrections + esoteric math rendering
This commit is contained in:
parent
02b7694bfe
commit
c864e2f9cc
2
Makefile
2
Makefile
|
|
@ -53,7 +53,7 @@ pdf-thumbs:
|
||||||
echo "pdf-thumbs: pdftoppm not found — install poppler (skipping)"; \
|
echo "pdf-thumbs: pdftoppm not found — install poppler (skipping)"; \
|
||||||
fi
|
fi
|
||||||
|
|
||||||
deploy: build sign
|
deploy: clean build sign
|
||||||
git push -u origin main
|
git push -u origin main
|
||||||
rsync -avz --delete _site/ $(VPS_USER)@$(VPS_HOST):$(VPS_PATH)/
|
rsync -avz --delete _site/ $(VPS_USER)@$(VPS_HOST):$(VPS_PATH)/
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -139,7 +139,7 @@ abstractField = field "abstract" $ \item -> do
|
||||||
let doc' = case doc of
|
let doc' = case doc of
|
||||||
Pandoc m [Para ils] -> Pandoc m [Plain ils]
|
Pandoc m [Para ils] -> Pandoc m [Plain ils]
|
||||||
_ -> doc
|
_ -> doc
|
||||||
let wOpts = defaultHakyllWriterOptions { writerHTMLMathMethod = KaTeX "" }
|
let wOpts = defaultHakyllWriterOptions { writerHTMLMathMethod = MathML }
|
||||||
writeHtml5String wOpts doc'
|
writeHtml5String wOpts doc'
|
||||||
case pandocResult of
|
case pandocResult of
|
||||||
Left err -> fail $ "Pandoc error rendering abstract: " ++ show err
|
Left err -> fail $ "Pandoc error rendering abstract: " ++ show err
|
||||||
|
|
|
||||||
|
|
@ -66,7 +66,7 @@ buildAllTags :: Rules Tags
|
||||||
buildAllTags =
|
buildAllTags =
|
||||||
buildTagsWith getExpandedTags allContent tagIdentifier
|
buildTagsWith getExpandedTags allContent tagIdentifier
|
||||||
where
|
where
|
||||||
allContent = ("content/essays/*.md" .||. "content/blog/*.md") .&&. hasNoVersion
|
allContent = ("content/essays/*.md" .||. "content/essays/*/index.md" .||. "content/blog/*.md") .&&. hasNoVersion
|
||||||
|
|
||||||
|
|
||||||
-- ---------------------------------------------------------------------------
|
-- ---------------------------------------------------------------------------
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue