Fix blog post urls

This commit is contained in:
Lewis Dale 2023-12-30 16:29:41 +00:00
parent b3d214426c
commit 4b52993d7b

View File

@ -1,5 +1,5 @@
module.exports = { module.exports = {
tags: ['posts'], tags: ['posts'],
layout: 'post.njk', layout: 'post.njk',
permalink: "/post/{{ data.slug if data.slug else title | slugify }} " permalink: "/post/{{ data.slug if data.slug else title | slugify }}/"
} }