Skip to content

Commit

Permalink
Added Netlify CMS UUID plugin
Browse files Browse the repository at this point in the history
Relying on slugs for identifying collections items is essentially broken without this plugin. See decaporg/decap-cms#4954 (comment)
  • Loading branch information
aidantjones committed Dec 13, 2022
1 parent a6bce0f commit 625faa9
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/admin/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@
<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>
<script src="https://unpkg.com/netlify-cms-widget-uuid-v4@^1.0.12/dist/index.js"></script>
<script type="text/javascript">
CMS.registerWidget('uuid', uuidWidget.UuidControl, uuidWidget.UuidPreview)
</script>

<!-- Netlify Identity Widget -->
<script type="text/javascript" src="https://identity.netlify.com/v1/netlify-identity-widget.js"></script>
Expand Down

0 comments on commit 625faa9

Please sign in to comment.