diff options
| -rw-r--r-- | README.md | 3 | ||||
| -rw-r--r-- | Tags.hs | 2 |
2 files changed, 3 insertions, 2 deletions
@@ -72,7 +72,8 @@ rendering machinery. - `mount` (string): what should be the canonical URL of the page - `name` (string): the name of the page for display in templates and page links - (technically, the `name` is not required UNLESS you + (technically, the `name` is not required UNLESS you refer to it from the + templates, but the templates usually do that) ##### Optional @@ -55,7 +55,7 @@ sourceTagMetaFile fp = do kx = splitTag ks v | Y.String t <- v' = - Y.Object $ KM.fromList [("name", Y.String t)] + Y.object [("name", Y.String t)] | Y.Object _ <- v' = v' | otherwise = error ("invalid definition of tag " ++ ks ++ " in " ++ fp) |
