Muut Archive Legend
@Muut · Joined 9 years ago · 18337 posts · 3878 topics · 137 reputation
Badges
Recent posts
-
Managing content in two columns
· 12 years ago
try page.collection('news') instead your code.
-
Managing content in two columns
· 12 years ago
It was following line : page.collection(page.header('news')) %} ---
-
Managing content in two columns
· 12 years ago
At line 65 of main.html.twig what happened?
-
Managing content in two columns
· 12 years ago
Remark: I also defined the taxonomie 'news' in the site.yaml.
-
Managing content in two columns
· 12 years ago
Ok, I tried it, but there seems still something, I don't understand. Let's say, I've got a page called 'main.md' and a corresponding template called 'main.html.twig'. Beyond that there are subfolders
-
Managing content in two columns
· 12 years ago
This is an interesting appoach. Thank you! I'll give it a try...
-
Managing content in two columns
· 12 years ago
In that case nothing prevents you from using 2 separate collections with different taxonomies? page.collection() is a function that takes an array just like the one you define in your page frontmatter
-
Managing content in two columns
· 12 years ago
It's not only a blog, where it doesn't matter, where the content is placed. Especially on title pages you often want to explicitly determine, where the content is rendered. For instance think of a lef
-
Managing content in two columns
· 12 years ago
Why don't you just specify responsive grid to display the items using 50% of the width and let CSS (or browser) to decide where to place the items?
-
Managing content in two columns
· 12 years ago
Until now the site is running with contao. But I'm looking for a simpler yet flexible cms. Grav is in the narrower choice!