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

TwentyFifteen bug in blog_item.html.twig

Started by Muut Archive 11 years ago · 2 replies · 254 views
11 years ago

Hi, in blog_item.html.twig there's a small omission in the lower nextSibling / prevSibling navigation.

Please change

TWIG
<span class="post-title" {% if page.nextSibling.media.images %}style="color: #fff;"{% endif %}>{{ page.header.title }}</span>

to

TWIG

<span class="post-title" {% if page.nextSibling.media.images %}style="color: #fff;"{% endif %}>{{ page.nextSibling.header.title }}</span>
---
11 years ago

Can you please submit an issue on the grav-theme-twentyfifteen repository? Thanks!

11 years ago

Yes, I did something like that - submitted the changes and issued a "pull request". Hope this is what you are suggesting; not sure, because I am totally unfamiliar with Github.

Suggested topics

Topic Participants Replies Views Activity
Archive · by Deleted User, 9 years ago
0 1345 9 years ago
Archive · by Muut Archive, 9 years ago
2 933 9 years ago
Archive · by Muut Archive, 9 years ago
2 4060 9 years ago
Archive · by Muut Archive, 9 years ago
1 2945 9 years ago
Archive · by Muut Archive, 9 years ago
3 1117 9 years ago