klml / drfrederson

static website generator powered by PHP, YAML, Markdown and mustache
MIT License
10 stars 1 forks source link

drfrederson creates some unnecessary output files #7

Closed hacklschorsch closed 10 years ago

hacklschorsch commented 10 years ago

After updating drfederson from 03a6af8ce4 to 0072852d4, make.sh generates some unnecessary html output files (like meta.html and the area:*.html files). Not very elegant (but no show stopper, also. Relax ;) )

$ ./make.sh
[SUCCESS] written: ../html/area:navigation.html 
[SUCCESS] written: ../html/area:sidebar.html Sidebar
[SUCCESS] written: ../html/area:sidebar_alter.html Other Sidebar
[SUCCESS] written: ../html/area:footer.html 
[SUCCESS] written: ../html/drf:admin.html All Administration
[SUCCESS] written: ../html/drf:404error.html 404 
[SUCCESS] written: ../html/drf:drf-custom-js.html drf-custom-js
[SUCCESS] written: ../html/drf:drf-custom-css.html drf-custom-css
[SUCCESS] written: ../html/drf:example.html Example page
[SUCCESS] written: ../html/foo.html Foo - Bar 
[SUCCESS] written: ../html/meta.html meta
[SUCCESS] written: ../html/index.html Main and startpage
[SUCCESS] written: ../html/about.html about here
hacklschorsch commented 10 years ago

Or are these files needed for the web-edit functionality to work?

hacklschorsch commented 10 years ago

D'uh, after re-reading documentation this seems more like a feature than a bug? If so, please close this issue, sorry for the noise!

klml commented 10 years ago

Yes, so you can admin (meta title, meta description and template ect), custom css and js and the navi and sidebar (e.g. demo area:navigation)