Skip to content
Grav 2.0 is officially stable. Read the announcement →

Andy Miller Grav Creator

Grav Core Team Grav Forum Moderators

@rhuk · Joined 9 years ago · 421 posts · 31 topics · 215 reputation

Badges

Grav Core Team ✏️ First Post 💬 Conversation Starter ❤️ Well Liked

Creator of Grav CMS + other things...

Recent posts

  • Grav Meetup in Denver, CO - March 13th 2018 · 9 years ago

    Steve Luiting has been gracious enough to provide a location for our Grav meetups and will be helping me co-host these events going forward. At this first meetup we want to chat about the Grav CMS in

  • Get the route path of a page · 9 years ago

    what are you trying exactly?

  • Fetch JSON from external source · 9 years ago

    You can't return a variable, twig function just return a string or an object. The $results you are already returning should work: {% set jobs = jobs() %} {{ dump(jobs) }} Should show you the result y

  • Included grav-logo.svg missing on extending theme · 9 years ago

    that was the use Grav\Common\Grav; line i mentioned that needed to be added. See this: https://github.com/getgrav/grav-theme-quark/blob/develop/quark.php BTW, in the future, use Devtools plugin to cr

  • Non latin characters in media (filenames) · 9 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 · 9 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 · 9 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 · 9 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? · 9 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 · 9 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