Skip to content
Grav 2.0 is officially stable. Read the announcement →

Community guidelines

Please keep discussions civil and on-topic. Repeated violations may lead to a temporary ban.

Maciej Newcomer

@mkukulka · Joined 6 years ago · 5 posts · 3 topics · 0 reputation

Badges

✏️ First Post 💬 Conversation Starter

Recent posts

  • Move collection definition from page.header to config file · 5 years ago

    I see that you placed "for" function also in default.html.twig. But I need sth more flexible and don't know if it is possible. When I have this configuration in code it works fine: default.pl.md ---

  • Move collection definition from page.header to config file · 5 years ago

    Dear @pamtbaau is works somehow great but... When I place this code: {% set options = config.pf.content %} {% set contents = page.collection(options) %} {% set options = config.pf.news %} {% set news

  • Move collection definition from page.header to config file · 5 years ago

    Hi, I wanto to move Yaml header from page.header to config.file-name. Is it possible to all elements? It works for me with image but what about collections? content: items: '@self.siblings' order:

  • Set another "extends" to page template · 5 years ago

    Hi, by default file "default.html.twig" is extended with "base.html.twig" I created new template: "products-home.html.twig" with the same content as "default.html.twig". I want "products-home.html.t

  • How to insert one page into another? · 6 years ago

    Hi I just begin with Grav. I nee to make a template to use with 2/3 site width is content edited with Markdown and 1/3 site width is for static links. How t achieve this result? I tried to use this