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:
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:
|
||||
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 ######
|
||||
|
|
Loading…
Add table
Reference in a new issue