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