set slug to filename

This commit is contained in:
Marvin Steadfast 2020-03-05 10:43:21 +01:00
parent a3da2012d2
commit 93e02abe84

View File

@ -1,6 +1,7 @@
---
title: "{{ replace .Name "-" " " | title }}"
date: {{ .Date }}
slug: {{ .File.BaseFileName }}
tags:
- notag
draft: true