Update slug in post template.

This commit is contained in:
tastytea 2020-12-27 20:38:35 +01:00
parent ce12e83e38
commit 21d5202af6
Signed by: tastytea
GPG Key ID: CFC39497F1B26E07
1 changed files with 1 additions and 1 deletions

View File

@ -1,6 +1,6 @@
---
title: "{{ replace .TranslationBaseName "-" " " | title }}"
slug: {{ replace .File.TranslationBaseName " " "-" }}
slug: {{ replace .TranslationBaseName " " "-" | urlize }}
description: null
date: {{ .Date }}
type: {{ .Type }}