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

Community guidelines

Please keep discussions civil and on-topic. Repeated violations may lead to a temporary ban.

Andy Miller Grav Creator

Grav Core Team Grav Forum Moderators

@rhuk · Joined 9 years ago · 335 posts · 28 topics · 183 reputation

Badges

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

Recent posts

  • 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

  • My Account Was Deleted · 8 years ago

    No one's account was deleted but we don't use Gitter anymore, we use Slack for chatting: https://chat.getgrav.org/

  • Infinite Scroll Page Collection/Posts · 8 years ago

    The infinite.html.twig from getgrav.org is actually pretty simple: {% set collection = page.collection %} {% set pagination = collection.params.pagination %} {% set blog_url = base_url~'/blog' %} {%