commit: 33a9c18815a04a66dab32e1f15a2109fa403dbda
parent fd23bbfdc1f6d1d38182ac6aa48e7e70a72c9b23
Author: Drew DeVault <sir@cmpwn.com>
Date: Fri, 15 Jan 2021 17:00:19 -0500
Fix gemini builds for HTML articles
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/layouts/blog/single.gmi b/layouts/blog/single.gmi
@@ -1,6 +1,6 @@
# {{$.Title | safeHTML}}
-{{ trim (readFile (replace $.File.Path ".md" ".gmi")) "\n" | safeHTML }}
+{{ trim (readFile (replace (replace $.File.Path ".md" ".gmi") ".html" ".gmi")) "\n" | safeHTML }}
```An ASCII art rocket
\ \_____