Questions tagged [tag-function]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
0answers
13 views

CSS and JS tags with custom version parameter

When using {% css '/path/to/file.css' %} craft adds a v= query parameter by itself so that it comes out like this: <link href="/path/to/file.css?v=1612895916" rel="stylesheet"&...
3
votes
1answer
29 views

Setting valueless boolean attributes with the tag function

When using the tag function, how does one handle valueless attributes which could also be null? For example, it's great we can do… {% set idVar = 'idstring' %} {% set nameVar = 'namestring' %} {% ...