aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoreug-vs <eugene@eug-vs.xyz>2022-10-23 02:12:21 +0300
committereug-vs <eugene@eug-vs.xyz>2022-10-23 02:12:21 +0300
commitcc222084bb32d887a5730be91036ed2a0a79c9eb (patch)
tree04341fe9df5afcf85faacc9812d35c1578648747
parent9fe22ea6481754a4d68d9f01beb2c26412a2eb07 (diff)
downloadbenzin-next-cc222084bb32d887a5730be91036ed2a0a79c9eb.tar.gz
fix: correct links in preview blogpostsHEADmaster
-rw-r--r--src/config.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/config.ts b/src/config.ts
index ab0ec12..3cb958e 100644
--- a/src/config.ts
+++ b/src/config.ts
@@ -21,6 +21,7 @@ const config: BenzinConfig = {
.split('\n')
.filter(line => line.startsWith('-'))
.slice(0, 4)
+ .map(line => line.replace('(', '(blog/'))
.join('\n');
const split = data.split('# Recent blog posts');