Answer the question
In order to leave comments, you need to log in
How to add variable in partial October cms path?
October cms has partial https://octobercms.com/docs/cms/partials
, they are displayed like this:
<div class="sidebar">
{% partial "sidebar/sidebar-contacts" %}
</div>
{{ post.title }}
<div class="sidebar">
{% partial "sidebar/{{ post.title }}" %}
</div>
Answer the question
In order to leave comments, you need to log in
Hello, we recently wrote on our blog how to do this.
https://biz-mark.ru/blog/web-razrabotka/konkatenac...
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question