decap with raw-only editor

This commit is contained in:
trean
2024-01-08 18:13:52 +00:00
parent 935bbe4cfc
commit 20a67a112a
2 changed files with 7 additions and 8 deletions
+1 -1
View File
@@ -29,4 +29,4 @@ collections:
hint: 'If enabled, this post will be featured in the "Features and News" blog section. Only the last 4 featured posts will be displayed in this section. Featured posts will not appear in the regular post list.' }
- { label: 'Tags', name: 'tags', widget: 'list', allow_add: true,
hint: 'Use a comma without a space to separate tags (this widget will add spaces after commas itself). Currently, tags only used to show related posts and not appear in user interface. But it can change in the future.' }
- { label: 'Body', name: 'body', widget: 'markdown' }
- { label: 'Body', name: 'body', widget: 'markdown', modes: ['raw'] }
+6 -7
View File
@@ -1,14 +1,13 @@
<!DOCTYPE html>
<!doctype html>
<html>
<head>
<meta charset="utf-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="robots" content="noindex" />
<title>Content Manager</title>
<!-- Include the script that enables Netlify Identity on this page. -->
<script src="https://identity.netlify.com/v1/netlify-identity-widget.js"></script>
</head>
<body>
<!-- Include the script that builds the page and powers Netlify CMS -->
<script src="https://unpkg.com/netlify-cms@^2.0.0/dist/netlify-cms.js"></script>
<!-- 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>
</body>
</html>