Closed vincowl closed 6 years ago
I haven't updated the plugin for a while now, I'll have to check if something changed in Grav which would explain this behavior.
Thanks a lot ! Hope this won't imply too much work
It works fine on my side with a fresh install, here is what I did:
{% include 'partials/aboutme.html.twig' %}
in the content and activated the twig processingDo you use the admin plugin or do you install and configure everything from the CLI ?
Do you have a aboutme.yaml
file in your user/config/plugins
folder that overrides the default configuration for the plugin ? If that's the case, make sure there is no formatting error in this file.
I followed your steps on a brand new full installation from the CLI and it works perfectly (Apache2 / php7.0, grav 1.3.6 without admin plugin).
I still have the problem on my previous installation. It is based on ahumaro/grav-php-nginx docker image (using nginx and php7.0). I made the whole installation / page creation using the admin plugin.
I found what caused the problem : there must be a conflict with ShortCodes Core plugin. While deactivating it, AboutMe worked perfectly. I opened a new issue #10 to trace this since it is a new issue. This one may be closed.
Fixed in #10
While having installed about-me in grav 1.3.6, having activated it and inserted the
{% include 'partials/aboutme.html.twig' %}
line in a brand new page where twig processing is activated, no content is displayed. I only have a shadowed box with absolutely no content. I tried to modify the aboutme.html.twig to display{{ about_name }}
, it seems that this variable is empty, while it had content correctly set in aboutme.php. Any idea ??