Bugfixes (#74)

* Fix demo post date format
* Fix test data
* Fix sorting
* Fix load more
* Fix markdown preview not updating
* Load relation options if value provided
* Update entry with default date
* Better change detection
* Fix sticky headers on tablet view (docs site)
This commit is contained in:
Daniel Lautzenheiser
2022-11-08 09:54:18 -05:00
committed by GitHub
parent 16339ce1bf
commit af8f18ce54
45 changed files with 388 additions and 322 deletions

View File

@ -2,6 +2,7 @@ backend:
name: test-repo
site_url: 'https://example.com'
media_folder: assets/uploads
locale: en
collections:
- name: posts
label: Posts
@ -48,7 +49,7 @@ collections:
widget: datetime
date_format: yyyy-MM-dd
time_format: 'HH:mm'
format: 'yyyy-MM-dd HH:mm'
format: "yyyy-MM-dd'T'HH:mm:ss.SSSXXX"
- label: Cover Image
name: image
widget: image

View File

@ -119,7 +119,7 @@
`\"\ndraft: ${i % 2 === 0}` +
'\ndate: ' +
dateString +
'T00:00:00.000Z\n---\n\n# The post is number ' +
'T00:00:00.000Z\n---\n# The post is number ' +
i +
'\n\nAnd this is yet another identical post body',
};
@ -140,7 +140,7 @@
i +
'"\ndate: ' +
dateString +
'T00:00:00.000Z\n---\n\n# Loren ipsum dolor sit amet',
'T00:00:00.000Z\n---\n# Loren ipsum dolor sit amet',
};
}
window.repoFiles._pages = {