routing: configure basic routing

* NEW Adds a blog section, including a blog archetype.
* NEW Sets the posts and blog sections' articles permalink.
* BETTER Moves the Phil post to the blog section.
* Closes #7.

Co-Authored-by: Igor Milhit <igor@milhit.ch>
web-fediverse-moi
iGor milhit 2019-07-30 08:46:10 +02:00
parent bb81b382de
commit 2cdcebd2b5
4 changed files with 11 additions and 1 deletions

View File

@ -0,0 +1,6 @@
---
title: "{{ replace .Name "-" " " | title }}"
date: {{ .Date }}
draft: true
---

View File

@ -5,6 +5,10 @@ title = "iGor milhit"
theme = "portfoliGor" theme = "portfoliGor"
enableGitInfo = true enableGitInfo = true
[permalinks]
posts = ":slug"
blog = ":slug"
[params] [params]

@ -1 +1 @@
Subproject commit 35f736369414cf2325d8d56fb486ea6b2aaa1748 Subproject commit 498a724195695c837eb31d612df0d0365a9a6e1b