mirror of
https://github.com/wahyd4/hugo.git
synced 2026-08-08 21:03:46 +10:00
Add config
This commit is contained in:
@@ -0,0 +1 @@
|
||||
public
|
||||
@@ -8,7 +8,7 @@ public_folder: "img"
|
||||
collections: # A list of collections the CMS should be able to edit
|
||||
- name: "post" # Used in routes, ie.: /admin/collections/:slug/edit
|
||||
label: "Post" # Used in the UI, ie.: "New Post"
|
||||
folder: "site/content/post" # The path to the folder where the documents are stored
|
||||
folder: "site/content/posts" # The path to the folder where the documents are stored
|
||||
create: true # Allow users to create new documents in this collection
|
||||
fields: # The fields each document in this collection have
|
||||
- {label: "Title", name: "title", widget: "string"}
|
||||
|
||||
Reference in New Issue
Block a user