mark2web/website/content/de/01_Navigation/04_Blog/config.yml

22 lines
973 B
YAML
Raw Normal View History

2019-03-10 13:26:26 +01:00
This:
Collections:
- Name: blog1st
2019-03-10 16:02:53 +01:00
EntriesJSON: '{{ fnRequest("https://mark2web.basiscms.de/api/collections/get/mark2webBlog?token=89ff216524093123bf7a0a10f7b273&filter[published]=true&sort[date]=-1&skip=0&limit=1").entries|json }}'
NavTemplate:
GoTo: '{{ date|add:"-"|add:title|slugify }}'
Navname: '{{ title }}'
Body: '{{ body }}'
Template: base_blog_details.html
DataKey: details
Hidden: true # hide from nav, but use this feature for rendering detail sites
2019-03-10 13:26:26 +01:00
- Name: blog1skip
2019-03-10 16:02:53 +01:00
EntriesJSON: '{{ fnRequest("https://mark2web.basiscms.de/api/collections/get/mark2webBlog?token=89ff216524093123bf7a0a10f7b273&filter[published]=true&sort[date]=-1&skip=1&limit=100").entries|json }}'
NavTemplate:
GoTo: '{{ date|add:"-"|add:title|slugify }}'
Navname: '{{ title }}'
Body: '{{ body }}'
Template: base_blog_details.html
DataKey: details
Hidden: true