Andy Miller Grav Creator
Grav Core Team Grav Forum Moderators
@rhuk · Joined 9 years ago · 337 posts · 28 topics · 184 reputation
Badges
Recent posts
-
Non latin characters in media (filenames)
· 8 years ago
Probably create an issue here: https://github.com/getgrav/grav/issues In the meantime use regular latin characters.
-
Display page.summary without images in partials templates
· 8 years ago
one option is to create a new custom header property like: title: My Title summary: My summary **intro text** without an image Then modify your Twig to use {{ page.header.summary|markdown }} Or you co
-
Included grav-logo.svg missing on extending theme
· 8 years ago
Ok, I hadn't tested it, and I was on the right track, but needed a smidge more logic: // Add images to twig template paths to allow inclusion of SVG files public function onTwigLoader() {
-
Fetch JSON from external source
· 8 years ago
This is really beyond the default capability of Twig which is a templating language. If you really MUST do it from Twig, you could create a plugin that uses a custom function. There are examples of
-
Agency Skeleton - Changing colors, what am I missing here?
· 8 years ago
Did you recompile the SCSS after you modified the color? https://learn.getgrav.org/themes/customization#custom-scss-less
-
Included grav-logo.svg missing on extending theme
· 8 years ago
The @images bit is actually a shorthand for a custom twig namespace that is defined in the quark.php file: // Add images to twig template paths to allow inclusion of SVG files public function
-
No CLI, is Grav still good for shared hosting?
· 8 years ago
if you can access via SSH, then you probably can use PHP from the command line, it's just a matter of finding the right executable and adding it to your path. Here's an example of how to do it on Cru
-
Markdown in form label to add page link
· 8 years ago
and commited for next release of forms plugin.
-
Is there a way to render a remote/external markdown file?
· 8 years ago
It's possible, but not out-of-the-box. 1) Create a custom twig function to pull a remote URL into a string, then use the |markdown filter on that string. The problem here is that there's no caching,
-
Markdown in form label to add page link
· 8 years ago
I think this is a limiation of the current form plugin. Perhaps you can add an issue here: https://github.com/getgrav/grav-plugin-form/issues