summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorChristoph Schlosser <christoph@linux.com>2025-08-24 17:49:35 +0200
committerChristoph Schlosser <christoph@linux.com>2025-08-24 17:49:35 +0200
commitb921db2d6504cee332cf54346dd1c81d034d3acf (patch)
tree001d0671d3b3c7aec91a32e2d1f838f7ed8e82a4 /templates
parent0b3f38b3786c1b738165778d210453e1c2bfe309 (diff)
downloadgit2hugo-b921db2d6504cee332cf54346dd1c81d034d3acf.tar.gz
g2h: Title must be in quotes to prevent yaml interpreting colons in title as keys
Also specify an explicit layout file to prevent Hugo from using default single and list files
Diffstat (limited to 'templates')
-rw-r--r--templates/_head.md3
1 files changed, 2 insertions, 1 deletions
diff --git a/templates/_head.md b/templates/_head.md
index a91e1b6..90c29a2 100644
--- a/templates/_head.md
+++ b/templates/_head.md
@@ -1,5 +1,6 @@
---
-title: {{ title }}
+title: "{{ title }}"
+layout: git
---
# {{ title }}