ghostToHugo icon indicating copy to clipboard operation
ghostToHugo copied to clipboard

Add option for page bundles

Open sebdanielsson opened this issue 3 years ago • 1 comments

Would be neat with an option to automatically create a page bundle for all posts. I converted all of my posts to leaf bundles with this shell script but it would be even better to have this built in.

For example you could have the following options: --leaf use this option to create a leaf bundle for each post --branch use this option to create a branch bundle for each post

for x in ./*.md; do
  mkdir "${x%.*}" && mv "$x" "${x%.*}/index.md"
done

sebdanielsson avatar May 10 '21 18:05 sebdanielsson

This is very interesting. I'll look into this for sure.

jbarone avatar May 10 '21 18:05 jbarone