This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.
chris10207
Having a variable in a .md content file does not seem to be parsed. if i change to .htm, the variable is correctly parsed.
Is it possible to have this variable available in .md content file as well and how ?
thanks
Last updated
jan-vince
Hi, this works for me:
In page:
{% content 'var.md' name='Jan' %}
In content file (var.md):
Hi {name}
There is a good documentation for this.
chris10207
Thanks Janek for your pointer, i just realised that i was using this notation instead
Hi {{ name }}
jan-vince
Yes, I have found this myself a little bit confusing :)
Can you please add to this topic name prefix [Solved]?
1-5 of 5