aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMirek Kratochvil <miroslav.kratochvil@uni.lu>2023-10-16 19:38:44 +0200
committerMirek Kratochvil <miroslav.kratochvil@uni.lu>2023-10-16 19:38:44 +0200
commit0e89ba2cf9d89a9bcc25b95c5a3e76267800fafb (patch)
treedc5cb390b2c391e6527d8f1a5fee542fde1e1c7b
parente2cec0c7a7d56058773f3534c202e1b85f57baff (diff)
downloadreploy-0e89ba2cf9d89a9bcc25b95c5a3e76267800fafb.tar.gz
reploy-0e89ba2cf9d89a9bcc25b95c5a3e76267800fafb.tar.bz2
microfixes
-rw-r--r--README.md3
-rw-r--r--Tags.hs2
2 files changed, 3 insertions, 2 deletions
diff --git a/README.md b/README.md
index 9d8776e..4ecd238 100644
--- a/README.md
+++ b/README.md
@@ -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
diff --git a/Tags.hs b/Tags.hs
index c407dfd..9893fcb 100644
--- a/Tags.hs
+++ b/Tags.hs
@@ -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)