Skip to content

Commit 6387e78

Browse files
committed
Add footer menu to CMS
1 parent f610a40 commit 6387e78

File tree

1 file changed

+34
-1
lines changed

1 file changed

+34
-1
lines changed

static/admin/config.yml

Lines changed: 34 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,8 +84,41 @@ collections:
8484
widget: 'select'
8585
multiple: true
8686
options:
87-
- Twitter/X
8887
- Discord
88+
- Telegram
89+
- Twitter/X
90+
- GitHub
91+
- label: 'Footer menu'
92+
name: 'footer'
93+
file: "src/content/footer.md"
94+
fields:
95+
- label: 'Columns'
96+
name: 'columns'
97+
widget: 'list'
98+
summary: '{{fields.title}}'
99+
fields:
100+
- { label: 'Title', name: 'title', widget: 'string' }
101+
- label: 'Items'
102+
name: 'links'
103+
widget: 'list'
104+
summary: '{{fields.text}}'
105+
fields:
106+
- { label: 'Title', name: 'text', widget: 'string' }
107+
- { label: 'Link', name: 'url', widget: 'string' }
108+
- label: 'Bottom'
109+
name: 'bottom'
110+
widget: 'object'
111+
fields:
112+
- label: 'Social platforms icons'
113+
name: 'socials'
114+
widget: 'select'
115+
multiple: true
116+
options:
117+
- Discord
118+
- Telegram
119+
- Twitter/X
120+
- GitHub
121+
- { label: 'Text', name: 'text', widget: 'string' }
89122
- name: 'roadmap'
90123
label: 'Roadmap'
91124
folder: 'src/content/roadmap'

0 commit comments

Comments
 (0)