fix: improve media fetching on collection page, add pagination (#788)
This commit is contained in:
committed by
GitHub
parent
e78ebbe65e
commit
92cc4575f8
packages/core
dev-test/backends
package.jsonsrc
actions
components
MainView.tsx
collections
common
card
image
table
view-style
entry-editor
constants
interface.tsreducers
@ -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
|
||||
|
Reference in New Issue
Block a user