aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Fischer <florian.fischer@muhq.space>2025-05-11 22:15:26 -0600
committerFlorian Fischer <florian.fischer@muhq.space>2025-08-20 15:57:17 +0200
commite9a93b39eb5158cf592fbf56fc689ca9f05dc1b1 (patch)
tree72c7e0990b78e97bd898df1477776b8f4ff3eb98
parentb2d00ecbf2ffe86dc0a2545307358f4bb176c974 (diff)
downloadmuhqs-game-e9a93b39eb5158cf592fbf56fc689ca9f05dc1b1.tar.gz
muhqs-game-e9a93b39eb5158cf592fbf56fc689ca9f05dc1b1.zip
specify the language of the rules
-rw-r--r--html/Makefile2
-rw-r--r--html/pandoc/default-metadata.yml1
-rw-r--r--rules/de/ai.md5
-rw-r--r--rules/de/rules.md5
-rw-r--r--rules/de/tiles.md5
5 files changed, 14 insertions, 4 deletions
diff --git a/html/Makefile b/html/Makefile
index 5c462103..49678014 100644
--- a/html/Makefile
+++ b/html/Makefile
@@ -2,7 +2,7 @@ VERBOSE ?= @
SHELL := bash
HTML_TEMPLATE := template.html
-PANDOC_FLAGS := -f markdown --embed-resources --standalone --template=$(HTML_TEMPLATE)
+PANDOC_FLAGS := -f markdown --embed-resources --standalone --template=$(HTML_TEMPLATE) --metadata-file=pandoc/default-metadata.yml
# The full path to the Makefile
MAKEFILE_PATH := $(abspath $(lastword $(MAKEFILE_LIST)))
diff --git a/html/pandoc/default-metadata.yml b/html/pandoc/default-metadata.yml
new file mode 100644
index 00000000..8191a4a9
--- /dev/null
+++ b/html/pandoc/default-metadata.yml
@@ -0,0 +1 @@
+lang: en
diff --git a/rules/de/ai.md b/rules/de/ai.md
index 48f7f836..f16755fc 100644
--- a/rules/de/ai.md
+++ b/rules/de/ai.md
@@ -1,4 +1,7 @@
-% KI
+---
+title: KI
+lang: de
+---
# Grundsätze
diff --git a/rules/de/rules.md b/rules/de/rules.md
index 4ffb57dc..3f539eea 100644
--- a/rules/de/rules.md
+++ b/rules/de/rules.md
@@ -1,4 +1,7 @@
-% muhq's game rules
+---
+title: muhq's game rules
+lang: de
+---
# Grundideen {.unnumbered}
diff --git a/rules/de/tiles.md b/rules/de/tiles.md
index f4a95482..666010ab 100644
--- a/rules/de/tiles.md
+++ b/rules/de/tiles.md
@@ -1,4 +1,7 @@
-% muhq's game common map tiles
+---
+title: muhq's game common map tiles
+lang: de
+---
# Gebräuchliche Felder