- do all filters in one go - do all post lists in one run of the program - only write files if they are changed (so make repeats less work) - simplify pandoc command for meta pages (this might not actually make a difference)
12 lines
232 B
Haskell
12 lines
232 B
Haskell
import FixFigures
|
|
import LangFilter
|
|
import NiceDate
|
|
import SlugTags
|
|
import Text.Pandoc.JSON
|
|
import Text.Pandoc.Walk
|
|
|
|
main :: IO ()
|
|
main = toJSONFilter $
|
|
langFilter "currentcolor" .
|
|
walk (niceDate . slugTags) .
|
|
walk fixFigures
|