1
0
Fork 0
mirror of https://github.com/safing/web synced 2025-04-16 17:09:09 +00:00

Switch to medias collection in _config

This commit is contained in:
davegson 2021-03-25 18:07:21 +01:00
parent ea6750b397
commit 393c768384

View file

@ -86,35 +86,16 @@ emailobfuscated: "=b!isfg>#nbjmup;ifmmpAtbgjoh/jp#?ifmmpAtbgjoh/jp=0b?"
###################################
collections:
podcasts:
output: true
videos:
medias:
output: true
defaults:
- scope:
path: "" # an empty string here means all files in the project
type: "posts"
values:
permalink: /blog/:year/:month/:day/:title/
type: "post"
- scope:
path: ""
type: "podcasts"
type: "medias"
values:
permalink: /podcast/:year/:month/:day/:title/
type: "podcast"
- scope:
path: ""
type: "videos"
values:
permalink: /video/:year/:month/:day/:title/
type: "video"
- scope:
path: ""
category: "video"
values:
layout: "video"
permalink: /:categories/:year/:month/:day/:title/
type: "media"
##############################
###### Podcast settings ######