Differentiate between podcasts and posts

also sets up their permalink
This commit is contained in:
davegson 2019-09-19 15:26:23 +02:00
parent 6a2a81c04a
commit 53481e4712
2 changed files with 13 additions and 4 deletions

View file

@ -31,15 +31,25 @@ contact_url: "/contact/"
whitepaper_url: "/files/whitepaper/"
cyberfreedom_url: https://twitter.com/davegson/status/1110216714871029761
collections:
podcasts:
output: true
defaults:
-
scope:
- scope:
path: "" # an empty string here means all files in the project
type: "posts" # previously `post` in Jekyll 2.2.
values:
layout: "post"
permalink: /:year/:month/:day/:title/
permalink: /blog/:year/:month/:day/:title/
type: "post"
- scope:
path: ""
type: "podcasts"
values:
layout: "podcast"
permalink: /podcast/:year/:month/:day/:title/
type: "podcast"
# Social icons and sharing options
#

View file

@ -1,5 +1,4 @@
---
type: podcast
title: "#001 - How to fund a privacy oriented start up"
keywords: funding privacy startup
date: 2019-09-13