fermyon / bartholomew

The Micro-CMS for WebAssembly and Spin
https://bartholomew.fermyon.dev/
Apache License 2.0
411 stars 50 forks source link

Add `implode` template helper #21

Closed technosophos closed 2 years ago

technosophos commented 2 years ago

It would be very useful to have an implode(list<string>) command.

Example:

implode ", " page.head.tags

Above would produce tag1, tag2, tag3

rajatjindal commented 2 years ago

still getting familiar with the ecosystem here. i am guessing this should be implemented as rhai script under scripts folder?