typemill / typemill

Typemill is a lightweight, flat-file CMS designed for simple, fast, and flexible website and eBook creation using Markdown.
https://typemill.net
MIT License
424 stars 60 forks source link

Folders as titles #409

Closed Ranxeon closed 4 months ago

Ranxeon commented 8 months ago

Is there a simple way to use Folders as simple titles (kind of like a category title) without link and excluded from the breadcrumbs? The first part I have managed and it works great but when it comes to the breadcrumbs I just can't figure out how to exclude the folder link and have the prev/next buttons to only jump to items. Any help would be very much appreciated.

folder

trendschau commented 8 months ago

I suppose that is only possible if you change the core-code. For the breadcrumb you can exclude the base-folder (or all folders), this information should be part of the breadcrumb-item data so you can probably change it in the partial of the theme. The jump-forward/backward button has a very complex logic and I don't think that you can change that easily (but did not dig into it). Of ypi simply erase it, then you could realise it mostly with changing the theme logic and not touching typemill core code.

trendschau commented 4 months ago

Thanks again for your suggestion. So Typemill core has a different logic right now and this won't change in near future. This might be a good case for a fork, so I will close this ticket for now.