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

Muut Archive Legend

@Muut · Joined 9 years ago · 18337 posts · 3878 topics · 137 reputation

Badges

✏️ First Post 💬 Conversation Starter ❤️ Well Liked

Recent posts

  • Inject header variable in content · 10 years ago

    Sure it's simple. First you need to enable Twig processing in the page header, then you just use Twig to output it: - – - title: My Page process: twig: true variable1: inject me - – - # Heading1 of

  • Inject header variable in content · 10 years ago

    Hi there! Is it possible to inject a variable, which is stored in the page header from the content area? What I am looking for is an ability to inject data stored in the page header in the markdown fo

  • Slice child pages in collection · 10 years ago

    Thats it! So simple... Thanks rhukster!

  • Slice child pages in collection · 10 years ago

    I think you are trying to use the slice filter? If so it's not .slice(0, 2) it's |slice(0, 2) http://twig.sensiolabs.org/doc/filters/slice.html

  • Slice child pages in collection · 10 years ago

    Hi! How can I slice child pages in collection few times on page?? For example, on homepage i want to show first 2 posts in one style, then next 5 posts in other styles and after that all ot

  • Long URL instead of short one · 10 years ago

    ahh Fixed by uncommenting RewriteBase / in .htaccess.

  • Long URL instead of short one · 10 years ago

    The short one brings up a Grav 404 page.

  • Long URL instead of short one · 10 years ago

    Hi, I just installed Grav this morning and imported all of the posts from my old blog. I then went onto my site and clicked on one of them and it has a 404 error. I need to add the folder to where it

  • Show child items with certain taxonomy · 10 years ago

    It's all described in the Taxonomy Guide. Sample code: <h2>Kevin Smith's Posts</h2> <ul> {% for post in taxonomy.findTaxonomy({'tag':'a-tag-value'}) %} <li>{{ post.title }}

  • Show child items with certain taxonomy · 10 years ago

    Hello! I'm building my first Grav project, which is a magazine-style blog, essentially. I'd like to populate different divs on my "index" page with "blog" items of different taxonomies (so all the ite