docker-grav
docker-grav copied to clipboard
Themes do not work except Quark
I am new to Grav, set it up and running with docker image, by following instructions in Readme.
docker run -d -p 8000:80 --restart always -v grav_data:/var/www/html grav:latest
Once I add a theme and activate new theme, it showing lots of code on the site page like below, how can I fix the problem? Thanks.
Tried quark theme?
Tried quark theme?
Quark is perfect.
Then not a docker issue. Probably either the theme has an issue or the theme you installed doesn’t have the template your page is using. Themes in grav can provide their own set of templates, and that means your page has to use threat template.
default.md uses templates/default.html.twig blog.md uses templates/blog.html.twig
Etc.
Then not a docker issue. Probably either the theme has an issue or the theme you installed doesn’t have the template your page is using. Themes in grav can provide their own set of templates, and that means your page has to use threat template.
default.md uses templates/default.html.twig blog.md uses templates/blog.html.twig
Etc.
Ok I will check the doc for detailed operation. Thank you very much.
Also please read this (Twig section):
https://learn.getgrav.org/17/advanced/grav-development/grav-17-upgrade-guide#twig