BlendedSiteGenerator/Blended

Recursion

jvromans opened this issue · 13 comments

It seems that Blended processes content items in the content directory, but not in subdirectories.

I'm on 4.0 now, and still items in subdirectories or content are not picked up.

Omitting the assets folders in template and build.

  • build/bedankt.html
  • build/coloured_notes.html
  • build/contact_err.html
  • build/contact.html
  • build/index.html
  • config.py
  • config.pyc
  • content/bedankt.html
  • content/coloured_notes.html
  • content/contact_err.html
  • content/contact.html
  • content/foo/bedankt.html
  • content/index.html
  • templates/content_page.html
  • templates/footer.html
  • templates/.gitignore
  • templates/header.html
  • templates/LICENSE
  • templates/nav1.html
  • templates/nav2.html

Blended does not currently make the same folder structure in the build folder. All the files from all directories in content are placed in the root of build. Because you have files named the same in the content folder and it's subdirectories, the second file found is overwriting the first. Just rename the files and you should be fine.

This is a real showstopper. My sites usually have many subdirectories (and subsub...) each having at least an index.html.
Also, links from one subdir page to another won't work anymore.

I really appreciate your efforts and support, but unless you really like doing what you are doing: There are several 'blended'-like static site builders around that are more complete, more powerful and more mature.

Ok, that fix is pushed!