fix: improve media fetching on collection page, add pagination ()

This commit is contained in:
Daniel Lautzenheiser
2023-05-09 16:07:16 -04:00
committed by GitHub
parent e78ebbe65e
commit 92cc4575f8
30 changed files with 918 additions and 215 deletions

@ -3,10 +3,12 @@ backend:
branch: main
repo: static-cms/static-cms-gitlab
auth_type: pkce
app_id: 91cc479ec663625098d456850c4dc4943fd8462064ebd9693b330e66f9d8f11a
app_id: 589ccb30ce31da8ba08e0b1e10b681a10be108e144508c2712573c6e4d60707e
media_folder: assets/upload
public_folder: /assets/upload
media_library:
max_file_size: 100000000
collections:
- name: posts
label: Posts
@ -17,12 +19,14 @@ collections:
folder: _posts
slug: '{{year}}-{{month}}-{{day}}-{{slug}}'
summary: '{{title}} -- {{year}}/{{month}}/{{day}}'
summary_fields:
- title
- date
- draft
sortable_fields:
fields:
- title
- date
default:
field: title
create: true
view_filters:
- label: Posts With Index