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.

ontime Member

@ontime · Joined 9 years ago · 15 posts · 10 topics · 1 reputation

Badges

✏️ First Post 💬 Conversation Starter

Recent posts

  • How to limit heading level in content · 7 years ago

    In most cases the level 1 header of the page (h1) would be defined by the page's title. Thus, following the HTML specifications, there couldn't be any other h1 following on the same level. Grav allows

  • Apply to content images · 8 years ago

    Hi, My specific question is related to Lightbox, but it actually quite general: How can I apply transformations to images/medias that are rendered from a Markdown content block ? I have the most class

  • How to use Collection::ofType · 9 years ago

    Yes, the folders of the modular pages are all prefixed with an _. Here is the structure of the page: <img src="//cdck-file-uploads-canada1.s3.dualstack.ca-central-1.amazonaws.com/flex036/uploads/ge

  • How to use Collection::ofType · 9 years ago

    Thanks for the array syntax tip, I am new to twig. With the right syntax, now both methods give me an empty result. Here is my templates structure. Is this what you meant ? <img src="//cdck-file-up

  • How to use Collection::ofType · 9 years ago

    Hi, I can't make ofType or ofOneOfTheseTypes work. Let say I have the following code: content: items: '@self.modular' {% for tile in page.collection().ofType('home_introduction') %} {{ tile.c