Neocities.org

soupault

soupault.neocities.org

60,841 views
15 followers
658 updates
0 tips
Hi Tyrone! I'm preparing a soupault 2.0.0-beta1 release. I switched to a more expressive template library in the end and now your breadcrumbs problem can be solved with breadcrumb_template = """<a class="nav" href="{{url}}">{{name|replace("_", " ")}}</a>""" What OS are you using, so that I can make a binary for you to test?
1 like
tyronezone 3 months ago

Hi Daniil, been working a lot recently, and I finally have time to check out 2.0! I downloaded the windows binary, and transfered the config settings. As for the template, I managed to get it working with breadcrumb_template = "{{name | replace ('_', ' ') | title}}". Thanks for the update!

soupault 2 months ago

Thanks for the update! I'm going to release the official 2.0.0 build this week. Did you use the convertor or converted the config by hand?

Hi Tyrone! I think you are the only one (other than myself) using the breadcrumbs feature. I'm planning to make it accept a mustache template for the breadcrumb_template option for better flexibility. What do you think about it?
tyronezone 5 months ago

Sounds good. I have tried to use regex to get rid of underscores and hyphens in the filepath name (eg. 'My_Folder' to 'My Folder') without success, so if this helps to achieve that it would be awesome!

soupault 5 months ago

Mustache doesn't support filters, for better or worse. I wonder if I should actually switch to a more expressive template library there. If nothing else it's possible to write a custom breadcrumbs plugin though.

Website Stats

Last updated 1 day ago
CreatedSep 27, 2019
Site Traffic Stats

Tags

opensource tools software web