soupault has moved!

soupault.neocities.org

218,071 views
14 followers
672 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's avatar tyronezone 5 years 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's avatar soupault 5 years 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?

soupault updated their site.
5 years ago
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's avatar tyronezone 5 years 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's avatar soupault 5 years 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 5 years ago
CreatedSep 27, 2019
Site Traffic Stats

Tags

opensource tools web software