Muut Archive Legend
@Muut · Joined 9 years ago · 18337 posts · 3878 topics · 137 reputation
Badges
Recent posts
-
Problem with blog
· 11 years ago
Ok, thx I install blog in another folder :)
-
Problem with blog
· 11 years ago
The theme either needs to support a blog type layout, or you need to adapt the blog templates from another theme into your theme that currently has no blog layouts. That means integrating with your b
-
Problem with blog
· 11 years ago
Hi, I want to add blog on my website. I have Agency template and I download Mediator theme for blog. Then I copy files from Mediator to user/pages and I get 02.blog. Now I have something like this htt
-
Navigation Problem
· 11 years ago
Ok, i'll leave it be! There really is no wrong answer anyway :)
-
Navigation Problem
· 11 years ago
Nope.. Because I'm rendering the "main" pages in a different navigation. I just needed to list all the "sub" pages with there "pages" in <ul>s as you can see above.
-
Navigation Problem
· 11 years ago
I am glad it's working, but still am not sure why: {% for child in pages.children %} Wouldn't work for all pages? That's what I do on my test sites and have never had a problem.
-
Navigation Problem
· 11 years ago
Finally I can figured it out. Here is the final code: {% if page.template == "main" %} {% set main = page %} {% elseif page.template == "sub" %} {% set main = page.parent %} {% elseif page.tem
-
Navigation Problem
· 11 years ago
pages should always be available and always contains 'all' the pages. {{ page.template }} should return the template name, but why do you need it? Maybe just send me a zip file of your site to andy at
-
Navigation Problem
· 11 years ago
or can i access the page template name with a function? like {{ page.template }} ?
-
Navigation Problem
· 11 years ago
maybe something to run this script always relative to the root? A loop or something? I'm really a newbie to grav..