mirror of
https://github.com/BeardedTek/flowbite-beardedtek.com.git
synced 2025-12-06 05:31:52 +00:00
Fix label formatting in config.yml and initialize Decap CMS in index.html for improved content management setup.
This commit is contained in:
@@ -25,8 +25,8 @@ collections:
|
||||
fields:
|
||||
- {label: "Title", name: "title", widget: "string"}
|
||||
- {label: "Publish Date", name: "date", widget: "datetime", format: "YYYY-MM-DD", date_format: "YYYY-MM-DD", time_format: false}
|
||||
- {label: Featured Image", name: "thumbnail", widget: "image"}
|
||||
- {Body", name: "body", widget: "markdown"}
|
||||
- {label: "Featured Image", name: "thumbnail", widget: "image"}
|
||||
- {label: "Body", name: "body", widget: "markdown"}
|
||||
|
||||
- name: "pages"
|
||||
label: "Pages"
|
||||
|
||||
@@ -9,5 +9,8 @@
|
||||
<body>
|
||||
<!-- Include the script that builds the page and powers Decap CMS -->
|
||||
<script src="https://unpkg.com/decap-cms@^3.0.0/dist/decap-cms.js"></script>
|
||||
<script>
|
||||
DecapCMS.init({ config: '/admin/config.yml' });
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user