Skip to content

lohnsonok/slug-tag-contentful

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Slug Generator

slug-widget

This extension enables to generate a slug using the title of the entry. It also checks whether or not any duplicates across the other entries of the same content type exist to warn users before publishing.

Note: In order to prevent publication whenever another entry has the same value for the field, it is advised to use the "Uniqueness" validation constraint. It can be combined with this extension.

Installation steps

Ensure you checked the samples requirements listed here.

Install dependencies if not done already through npm install.

You then need to update the Makefile, uncomment and update the following line:

export SPACE=<id of space you want to install the extension for>

Then do the following:

make create

Updating the extension

If you make any changes to the code of the extension, you may push these updates to Contentful by calling:

make update

Debugging in local environment

If you wish to run the extension from your local environment for debugging purposes, you may use the following commands:

make update-dev
make serve

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages