I'm trying to use Pelican to generate a hierarchy of .html files, with a hierarchy of .html and .md files as input.
Pelican has a lot of great features, but it is focused on generating a blog, not a static, hierarchical website. Sure, it has that pages
subdirectory, but it doesn't respect subfolders in that directory; instead, it tries to flatten all of the files it finds into the same directory, and then complains that it will "overwrite" files with the same slug.
I'm used to managing large sets of web pages in subfolders. When I put file.html
in subfolder mysite/a
, I expect the URL to be something like https://myserver/mysite/a/file.html
. But apparently Pelican (and Jekyll) think one folder should be enough for anybody. Am I missing something? Or is Pelican so focused on blogging they are just not up to the job of really generating and managing static sites?
Pelican seems like really cool tool. The source is very well-written, and it has lots of nice options. But I'm starting to think that it's really not for generating static sites, but rather for generating static blogs. Is anyone else using it the way I'm suggesting?
Pelican is focused on publishing sites, regardless of purpose. I recommend looking through the issues to see related questions. There is also a plugin that focuses squarely on replicating hierarchical content.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With