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

Hugh Barnes Veteran

Regular

Grav Forum Moderators

@hughbris · Joined 8 years ago · 577 posts · 12 topics · 127 reputation

Badges

ModSquad Team Member ✏️ First Post 💬 Conversation Starter ❤️ Well Liked

Recent posts

  • Update-safe overrides for forms fields twig templates? · 8 years ago

    If you created an inherited theme, I don't know this, but possibly it doesn't create a templates subfolder because there aren't any yet. So try creating that "templates" folder and any subfolders requ

  • Why do html_lang and Language\getDefault() have different values? · 8 years ago

    Not much time now (even to read all this!), but I can answer that theme_config is commonly defined at the top of base.thml.twig for many themes: {% set theme_config = attribute(config.themes, config.s

  • One-page theme problem · 8 years ago

    Disable cache in your development environment.

  • Grav Skeleton adding site URL to social a tags · 8 years ago

    Solved in Slack, I've found out.

  • Cheking if translation exists · 8 years ago

    There may be a simpler way I don't know, but ... What do you get from the t custom Twig filter (translate string to current language)? What do you get for a result if you output {{ 'MY_STRING'|t }}. I

  • Grav Skeleton adding site URL to social a tags · 8 years ago

    Hi Chris, glad you are enjoying it so far! Had a poke around the skeleton and theme. Looks like you found and edited the properties in the theme's site configuration file. Did you express the social U

  • Modualar pages and translation plugins · 8 years ago

    Pretty much you need to copy these files, yes. I'm inexperienced with multi-language, but I had success with one site following the official docs and using the language switcher plugin. Modular pages

  • Blog Index Page is Empty · 8 years ago

    Not familiar with that theme. Your blog listing page (any page) will choose its template based on the template header, and more conventionally by its filename. So default.md will be rendered by the Tw

  • Link preview on social networks · 8 years ago

    Have you seen this post from few days ago? Looks like the same problem but I'm not sure if my suggestions worked. Please let me know if that is the same problem and if it helped.

  • Importing Markdown Files · 8 years ago

    I haven't answered because I don't know. I understand and agree with what you say. I would expect it's been done before and you could find a tool, probably not Grav-oriented, not that that matters. Yo