This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.

Dmi3yy
Dmi3yy

I want to dynamically display content depending on slug

alroniks
alroniks

{% content this.param.slug %}

For docs on octobercms.ru I did: {% content ['docs', this.param.slug|default('README.md')]|join('/') %}

By default - README.md from gitbug, and full path with join to files in docs folder.

Last updated

1-2 of 2

You cannot edit posts or make replies: the forum has moved to talk.octobercms.com.