commit 6306eb183ff2cd1599fab4fc3ec3fec17247c872
parent 4d0a6307c48bf9fce17b25d0680c8561b8d8b903
Author: Remy Noulin <loader2x@gmail.com>
Date: Sun, 3 Jan 2021 14:41:35 +0100
fix links to internal posts
forb.c | 2 +-
package.yml | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
Diffstat:
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/forb.c b/forb.c
@@ -706,7 +706,7 @@ char *postToUrl(char *filename) {
cleanAllocateSmallJson(pCfg);
readFileWithFrontMatter(fn, pCfg, pf);
- cleanCharP(postHtmlFile) = copyRngG(fn, 18, 0);
+ cleanCharP(postHtmlFile) = copyRngG(fn, 22, 0);
replaceG(&postHtmlFile, ".markdown", ".html", 1);
// select first publish date for html path: root/category/YY/MM/DD/postName.html
diff --git a/package.yml b/package.yml
@@ -1,6 +1,6 @@
---
name: forb
- version: 0.0.8
+ version: 0.0.9
description: static blog generator with configuration files inspired by jekyll
bin: ./forb.c
repository: