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 3 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 3 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?

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 3 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 3 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.

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
This took way too long... magick @thumbnailsjpg.txt -resize x200 -set filename:f %t Thumbnails/%[filename:f].jpg
1 like
Struggling with my current Webdav client, I'll be looking at alternatives ASAP. Image file sizes also seem a bit large, I'll have another go at reducing the size and possibly doing thumbnails.
1 like
tyronezone 3 years ago

WinSCP pulled through, but I guess I'll look into the git push CLI method soon.

Website Stats

Last updated 3 years ago
CreatedApr 5, 2020
Site Traffic Stats