Open JohnMica opened 5 years ago
and trying to dump all variables I get this (as per the images below)
and please ignore my typos inside the dump command - just wanted something to see
relatedpages.html.twig has
{% for slug, page_folder,
items in related_pages %}
{% set related = grav['pages'].get(page_folder.path) %}
{% if related %}
{{ dump('slug',slug, 'page fodler',page_folder,'related_pages',related_pages,'items', related_pages[items], 'relatesd', related,'score',score) }}
page folder has the following ( no items )
items is null (items variable from related pages)
related_items does have items
Have you resolved this issue?
same issue here with deliver theme, any clue ?
Hi guys,
Not sure if this is an issue per say or not, but I've been trying to achieve some magical things with Grav and this plugin and I ran into a huge wall.
The problem is
I have 3 blog pages on the same site
Trying to use the plugin to only display the 'related' articles based on the parent page ( one of the blogs above )
I managed to get them semi working as in:
These are the issues:
Am I doing something fundamentally wrong in trying to achieve this ?
The article has
My sidebar has
the plugin has