New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add section option to exclude it from URL #608
Comments
Hmm I'm not sure I want to add that, it makes generating URLs harder with more potential conflicts for a pretty niche usecase. Leaving it open to get more feedback |
I am looking at using Zola for a webcomic project. I would like to store the comic's chapters inside their own directories, and I would like to avoid having these directories appear in the URL. My reasons for wanting this are twofold:
Example (omitting _index.md files)
From reading the documentation and #413 I thought The remaining option would be setting the path in each page's front matter. This isn't too much trouble, but I would certainly prefer an automated solution if possible. |
|
Not a lot of support for that feature, closing. |
Hi there, I wonder if you will re-consider this. For me, this is one of the big missing features from static site generators (I realize if they're all missing it, it's a "me" thing :) I want to have most/all of my pages have top-level URLs, but I don't want a single I group similar files in dirs, either by theme or by how I'm working with them (e.g. The closest approach I have right now is to keep a separate dir of files organized how I want, and then use a |
I like to organise my content on disk using folders for different year and month. I don't need this in the URL. It would be nice to add a section front-page-matter option such as
include_in_url
(true/false) to denote whether it's part of the URL.The text was updated successfully, but these errors were encountered: