Skip to content

Converts Hugo markdown files and POSTs them to a directus collection

License

Notifications You must be signed in to change notification settings

dhenkes/hugo-to-directus

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

hugo-to-directus

This script takes a Hugo folder containing Markdown files, validates them and posts them to a Directus collection.

The body currently looks like this:

{
  "title": "Title",
  "status": "published"
  "date": 1692515918360,
  "url": "unique-url",
  "content": "Content"
}

About

Converts Hugo markdown files and POSTs them to a directus collection

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages