BennyHallett/obelisk

Use a different index than the blog index.

Opened this issue · 3 comments

It'd be cool to be able to put the blog posts and index pages under a subdirectory, then compile the pages (with one named index.html) into the main directory.

This way the site could be generated without a blog part, or as a landing page with separate blog content.

TODO:

  • Obelisk.Blog.html_filename should take the path into account
  • Should allow an empty value to just use /index.html
  • Need to make the appropriate directory, only one time (probably on build)
  • Next and Previous page links need to take the path into account
  • Index page links need to take the path into account (in Document.html_filename)
  • Document.html_filename needs to take empty config into account too

I don't want to be pushy, but what's the status on that one? 😁
This would make it possible to make the pages for #19 and #20 using obelisk itself.

No problem 😄

Yeah that was the plan, to get these features in and use Obelisk to build it's own site. Still those last couple of items to handle, but I think I want #8 as well before building the site to help manage the documentation and table of contents.