hughbris Veteran
Regular
Grav Forum Moderators
@hughbris · Joined 9 years ago · 581 posts · 14 topics · 127 reputation
Badges
Recent posts
-
Accessing Collections in Twig
· 8 years ago
This is only an example of how you would access the collection in Twig. The part of antimatter that is similar is contained in blog.html.twig, line 22. Let me know if that clears it up for you.
-
Post Thumbnails Not Appearing on Social Media
· 8 years ago
Without knowing exactly how these sites generate post thumbnails, I've always assumed they pick an image that looks like a headline or "hero" image. With your page and the antimatter theme, the axe gr
-
Form field of type 'honeypot' not invisible
· 8 years ago
Interesting! I was going to ask which theme, but I looked at my form with a honeypot and see that the CSS to hide it (visibility:hidden etc) is inline in style attribute, so it's probably theme-indepe
-
Exporting from Jekyll to Grav
· 8 years ago
Fair enough question, no need to be embarrassed 🙂 I don't know of any, only a Drupal exporter. Maybe one day. How "dynamic" and large is your site? If it's simple and small, I'd say it would be a grea
-
Best practice for plugin dependencies
· 8 years ago
I looked up google-maps, a plugin I've used that I know depends shortcode core, and saw that it uses the plugin blueprint as per Ole's comment.
-
QUARK- Navbar SVG issues
· 8 years ago
Are you editing Quark itself or a theme that inherits it? Your attachment/link doesn't work for me BTW. If this is urgent, you might have a faster solution by asking in the Grav Slack general channel.
-
Any XSS code can be stored?
· 8 years ago
Thanks for this. Within Admin, by trusted users, this is no issue. Have you found a way to exploit any forms that random Mallories from the public can input? That would be a concern.
-
Comment count on article/blog listing
· 8 years ago
OK I think I follow this. A few Twig things: you've sliced that page collection twice (lines 1 & 2) - I'd recommend removing all that slicing and ordering while you debug this look into using {%
-
Dynamic metatag
· 8 years ago
Please provide more contextual template code, specifically I am wondering from your examples: what is the the value of meta - is there somewhere you've set this to page.header.metadata? There are a
-
Theme tutorial problem
· 8 years ago
No, editing custom.css in your inherited theme should work fine.