Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
A bit of a departure to the core need of a static blog engine , but a it may be useful.
So we have entries, how about pages. You may want a static page like an about page or contact page but obviously you wouldn't need the extra blog specific stuff such as tags and publish dates. Previously I was using templer in conjuction with chronicle 4.6 to do this sort of thing then marrying the outputs.
Obviously we could pre-create the pages and have them copied into the output directory using the "post-build" feature, however I think Chronicle should be up to the task.
The proposed page would be have a simpler structure than a post:
This page is about me a
It may require a bit of a logic rewrite, or looking at the code touch of sleight of hand.
It seems to me there are two key things you want to achieve here:
I have a suspicion this could even be done in a plugin. (I did something pretty complex by adding a plugin which ran at db-init time to create a "related tags" page, then ran at generation time to output lists of related tags which seems related.)
I think you could do something similar:
So a pretty "big" plugin, implementing three methods, but I don't think it would be complex to write.
(I'd be happy to hack a demo if that would be useful?)
No problem, I don't want to write it for you but I did want to reassure myself that it should be possible without changing the chronicle-core :)
The markdown/multimarkdown should be possible without too much effort too - either hardwired, along with a suitable template, or via a