Closed irudi closed 2 years ago
So Core, Admin, Problems, Error and Form are all newest versions? That error means the current theme does not have the docs.html.twig
-template. Is system.yaml
set to use Scholar, as below?
pages:
type: regular
theme: scholar
Can you verify that GRAV_ROOT/user/config/themes/scholar.yaml
exists, and contains the following?
components:
- docs
Both are necessary for docs.html.twig
to be available, I don't think upgrading and updating would change either.
Theme is set to use Scholar in system.yaml. But components were null!
If I just add docs - nothing changed, I'm getting the same error as before
If I add all the default components of Scholar I get:
RuntimeException (400)
Template "partials/what_links_here.html.twig" is not defined in "default.html.twig"
So your scholar.yaml
now has this?
components:
- blog
- book
- cv
- docs
- tufte
- what-links-here
No, I've reduced it to
components:
- blog
- docs
Sorry, we have misunderstood each other.
The what-links-here
error occurs only if I had all components enabled.
But I've removed all but blog
and docs
again - because I just need docs
at the moment.
Similar to #8: after having tried all kinds of ways of installing Scholar and get some docs pages working I opted for the skeleton route.
Skeleton worked fine. I've updated my content, docs section was working.
Updating to Grav v1.7.18, updating all plugins and themes (including Scholar) - RuntimeException when try to open the docs section :-(
RuntimeException (400) Template "docs.html.twig" is not defined.