Muut Archive Legend
@Muut · Joined 9 years ago · 18337 posts · 3878 topics · 137 reputation
Badges
Recent posts
-
How can I loop over site blueprint field values
· 10 years ago
Using config.site should work
-
How can I loop over site blueprint field values
· 10 years ago
site.yaml form: fields: social: type: section title: Social fields: twitter: label: Twitter url: "#" icon: twitter facebook:
-
Remove modular item from nav
· 10 years ago
Perfect, makes sense. I will play with that. Thank you.
-
Remove modular item from nav
· 10 years ago
In Antimatter theme for example, there is a special onpage_menu option that triggers a loop in the templates/modular.html.twig file. This is what is looping over the modular items and building the on
-
Remove modular item from nav
· 10 years ago
Depends on the theme used, in Antimatter you can set onpage_menu: false in the page header.
-
Remove modular item from nav
· 10 years ago
I have been slamming my head against a wall on how to remove a particular modular page from the nav. I made the homepage hero of the site it's own modular section to make it easily updatable through t
-
Markdown truncate
· 10 years ago
Also you can use the manual truncate tag to pick a specific point where to truncate the blog for the listing page: this will be shown in `page.summary()` === this will not be shown
-
Markdown truncate
· 10 years ago
I found this : instead of writing {{ page.content|truncate(200) }} we can write : {% set somehtml = page.content %} {{ somehtml[:200]|striptags ~ ' ...' }} This is working, so I let the post, it can
-
Markdown truncate
· 10 years ago
Hi, I have a probleme with my blog : On main blog page, all articles are diplayed with an image and a truncated text (beacause all article text is too long), but I discover a probleme today : my artuc
-
Rename 01.blog to 01.whatever
· 10 years ago
That fixed it! Thanks a lot, Flavio!