Skip to content

Commit aabdcd9

Browse files
committed
Fixed time zone and date field for Sveltia
1 parent 8e55c3b commit aabdcd9

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

config.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ params:
3838
logo: avatar-icon.png
3939
favicon: favicon.png
4040
dateFormat: 2006-01-02
41+
timeZone: Europe/Oslo
4142
commit: false
4243
rss: false
4344
comments: true

static/admin/config.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ backend:
33
repo: NLLCommunity/nllcommunity.github.io
44
base_url: https://sveltia-cms-auth.myrkvi.workers.dev/
55

6-
media_folder: /public/media
7-
public_folder: /media
6+
media_folder: /static/images
7+
public_folder: /images
88

99
collections:
1010
- name: posts
@@ -26,6 +26,7 @@ collections:
2626
- label: "Date"
2727
name: "date"
2828
widget: "datetime"
29+
type: "date"
2930

3031
- label: "Categories"
3132
name: "categories"

0 commit comments

Comments
 (0)