mirror of
https://github.com/safing/web
synced 2025-09-01 18:49:06 +00:00
Switch to medias collection in _config
This commit is contained in:
parent
ea6750b397
commit
393c768384
1 changed files with 4 additions and 23 deletions
27
_config.yml
27
_config.yml
|
@ -86,35 +86,16 @@ emailobfuscated: "=b!isfg>#nbjmup;ifmmpAtbgjoh/jp#?ifmmpAtbgjoh/jp=0b?"
|
||||||
###################################
|
###################################
|
||||||
|
|
||||||
collections:
|
collections:
|
||||||
podcasts:
|
medias:
|
||||||
output: true
|
|
||||||
videos:
|
|
||||||
output: true
|
output: true
|
||||||
|
|
||||||
defaults:
|
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:
|
- scope:
|
||||||
path: ""
|
path: ""
|
||||||
type: "podcasts"
|
type: "medias"
|
||||||
values:
|
values:
|
||||||
permalink: /podcast/:year/:month/:day/:title/
|
permalink: /:categories/:year/:month/:day/:title/
|
||||||
type: "podcast"
|
type: "media"
|
||||||
- scope:
|
|
||||||
path: ""
|
|
||||||
type: "videos"
|
|
||||||
values:
|
|
||||||
permalink: /video/:year/:month/:day/:title/
|
|
||||||
type: "video"
|
|
||||||
- scope:
|
|
||||||
path: ""
|
|
||||||
category: "video"
|
|
||||||
values:
|
|
||||||
layout: "video"
|
|
||||||
|
|
||||||
##############################
|
##############################
|
||||||
###### Podcast settings ######
|
###### Podcast settings ######
|
||||||
|
|
Loading…
Add table
Reference in a new issue