Use Magic tag as ID selector
-
Is it possible to use, somehow, a tag as an ID in a template? I need it for a multiple Popup on same page.
I.e.:
<div>
<h1 class=”project-title”>{@post_title}</h1>
<a class=”project” href=”#{{@post_title}”>
<img src=”{@post_thumbnail_url.1536×1536}”>
</a>
</div>
<div id=”{@post_title}” class=”overlay_popup”>…</div>(This is obviously not working.)
Thanks
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Use Magic tag as ID selector’ is closed to new replies.