getgrav / getgrav/grav-plugin-breadcrumbs

Breadcrumbs can't be added as a modular?

Open
#9 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
PHP
Stars
19
Forks
15
PR merge metrics
No merged PRs in 30d

Description

Making a breadcrumbs modular with:
```
{% if config.plugins.breadcrumbs.enabled %}
{% include 'partials/breadcrumbs.html.twig' %}
{% endif %}
```
in it doesn't work. Only `fa-home` icon appears. Is it intentional? Is there any way I could put working breadcrumbs between modulars which are loaded through:
```
{% for module in page.collection() %}
{{ module.content }}
{% endfor %}
```
?

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reading the modular template snippet using `partials/breadcrumbs.html.twig` and the `page.collection()` rendering loop shown in the issue. Trace how the breadcrumbs plugin output is inserted into modular content, then verify that breadcrumbs render correctly between modules rather than only showing the `fa-home` icon.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.