4 ms·
Is there a static site generator with support for multiple authors and multiple languages? e.g. with archive pages like /<author>/<lang>/<yyyy>/<mm>/ and categ
by syntern 12y ago
Is there a static site generator with support for multiple authors and multiple languages?
e.g. with archive pages like /<author>/<lang>/<yyyy>/<mm>/
and category pages like /<lang>/<cat>/<subcat>/
I fail to see any. I've tried to configure many of the available generators, but no one seem to have the same itch I have.
- lgbr 12y agoYou might look into docpad, then. Jekyll and others are largely built around blogging, but docpad is more of a framework for writing code to generate static sites. It does a much better job of allowing you to do anything you want, porvided you're willing to write some javascript.
- syntern 12y agoIs there any chance that you know a website with docpad (or anything else) that uses the above archive format? I've sample the showcase/example site, but I was not able to identify any.
- lgbr 12y agoNo, not off the top of my head. You could probably just arrange your posts in src/documents in this format, and let your layout do a lot of work for you such that each of the files in src/documents/<lang> contains little more than the blog text in its respective language.
- ianstormtaylor 12y agoYou might want to check out Metalsmith — http://metalsmith.io/ http://metalsmith.io/ — the archive pages could be pretty easily made using the collections plugin. And if you needed anything custom, the plugins are super easy to write and can manipulate however you choose.
- nuclear_eclipse 12y agoMy own personal project, Nib [1], could potentially support both requirements. It uses configuration and pipelines, and can generate "virtual" static pages during the pipeline, which currently gets used to generate the blog/article index, tag pages, etc. Shouldn't be too difficult to add the document properties and extend the configuration and templates to match. https://github.com/jreese/nib https://github.com/jreese/nib
- alwillis 12y agoIt’s actually pretty straightforward to create a multilingual Jekyll site: http://developmentseed.org/blog/multilingual-jekyll-sites http://developmentseed.org/blog/multilingual-jekyll-sites. And using something like Prose, multiple non-technical authors can update a Jekyll site: http://prose.io/#about http://prose.io/#about.
- syntern 12y agoI appreciate the answers here. I took a deep look, but it turns out, that every application requires almost the same amount of massaging, especially at the point where my other requirements kick in (category page extra content). It seems that so far the best approach would be to write a dynamic web app that does what I want, and save the content with wget. Seriously, it seems easier than any of the hackery I need to do.