Skip to content

djay/transmogrify.pathsorter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

135 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Introduction
============

If items are at the same level in a folder then they will be sorted based on a
'_sortorder' key as given by transmogrify.webcrawler.

In addition

- if an item doesn't exist for a given items parent it will be created. The _type key will
  be set to the first item in 'default_containers'.

- if a container has a 'text' key then a default page will be created.

- if item's name is in 'default_pages' and it's parent doesn't already have a defaultpage
  then the item will be set as the parents default page.

About

reorder items into tree sorted order creating parents and defaultpages as needed

Resources

Stars

3 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages