Tyrone's Zone

326 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 7 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 6 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 9 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 9 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.

Thanks for following me, Tyrone. My pages are also a place --to place my projects (and concerns). I was in the IBEW for a number of years --as a journeyman technician.
1 like

Website Stats

Last updated 11 months ago
CreatedApr 5, 2020
Site Traffic Stats