mirror of
https://github.com/inventree/inventree-website.git
synced 2025-06-14 19:15:28 +00:00
add news
This commit is contained in:
@ -23,6 +23,9 @@ collections:
|
||||
output: true
|
||||
custom_permalink_placeholders: ["publisher"]
|
||||
#permalink: "/:publisher/:title"
|
||||
news:
|
||||
output: true
|
||||
permalink: /news/:year/:month/:day/:title
|
||||
posts:
|
||||
permalink: /blog/:year/:month/:day/:title
|
||||
|
||||
@ -42,6 +45,11 @@ defaults:
|
||||
type: "posts"
|
||||
values:
|
||||
layout: "post"
|
||||
- scope:
|
||||
path: ""
|
||||
type: "news"
|
||||
values:
|
||||
layout: "news"
|
||||
- scope:
|
||||
path: ""
|
||||
values:
|
||||
|
Reference in New Issue
Block a user