diff options
| author | Christoph Schlosser <christoph@linux.com> | 2025-08-24 17:49:35 +0200 |
|---|---|---|
| committer | Christoph Schlosser <christoph@linux.com> | 2025-08-24 17:49:35 +0200 |
| commit | b921db2d6504cee332cf54346dd1c81d034d3acf (patch) | |
| tree | 001d0671d3b3c7aec91a32e2d1f838f7ed8e82a4 | |
| parent | 0b3f38b3786c1b738165778d210453e1c2bfe309 (diff) | |
| download | git2hugo-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
| -rw-r--r-- | templates/_head.md | 3 |
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 }} |