I’m trying to link to a file located in my theme assets folder from the base.html.twig template. I tried both of the below, but it can’t find the audio file I’m trying to link to.
Basically, url is a special built-in function you can use to resolve several paths. Here theme:// is a stream. Grav has lot of streams predefined. You can find a few here and more here.
So using the url() method for the theme:// stream does work. if that is not working then it’s because you need to concaat your string differently rather than next tags:
Thanks! That works great! I’m still amazed by the support you guys provide for this CMS. By the way, once I get a handle on the Grav system a bit more I’d love to help put a few basic themes together.