Community guidelines
Please keep discussions civil and on-topic. Repeated violations may lead to a temporary ban.
Hugh Barnes Veteran
Regular
Grav Forum Moderators
@hughbris · Joined 8 years ago · 577 posts · 12 topics · 127 reputation
Badges
Recent posts
-
Use the taxonomy value as classname for styling
· 8 years ago
Great idea, you just have the Twig expression slightly wrong. I had to check in the docs for the correct expression, so don't feel bad 🙂 page.taxonomy.tag would work, but it's an array because you can
-
Very newb starting out issues
· 8 years ago
The first attempt should work as long as your site homepage is reachable at localhost/grav-skeleton-onepage-site. Looking at that skeleton, it doesn't include the admin plugin, so I think you need to
-
Add a default param for an archive page
· 8 years ago
I was about to tell you all about Twig defaults fallbacks and testing for defined values, but I don't think that is your question! So assuming your two code snippets are form the same file, it looks l
-
Very newb starting out issues
· 8 years ago
Most plugins and themes come with a (mostly boilerplate) set of options for installing in their README files. All of them can be done locally without requiring you make your site "live". From memory,
-
Looking for a simple theme
· 8 years ago
Content negotiation, specifically for language preference, is what you want and there are more standard ways (should be safer) than Javascript to do that, though you could. Grav has good support for m
-
Grav and adding XMLRPC
· 8 years ago
Hi, yes I'm quite interested in getting involved though my time is limited for hobby projects right now. After investigating briefly when I originally answered your question, I suspected you may need
-
Looking for a simple theme
· 8 years ago
I've used antimatter for some holding pages. I think many themes will be easily adapted. I'm curious why you need javascript redirects? They are the worst kind in my opinion.
-
How to correctly set language of the site?
· 8 years ago
Are you sure nobody has faced it? Search for issues on Github and add a new one. Explain why it is a problem. Some in the community will say this is not a big problem, like they did when I pointed out
-
How to correctly set language of the site?
· 8 years ago
That's what I meant. It's just the way Admin does it. Rename them all or create them using a text editor. I work outside Admin mostly because of this kind of behaviour.
-
How to correctly set language of the site?
· 8 years ago
Again, I have limited translation or multi-language experience ... I wonder of you simply rename this file and remove the language code (to page.md), if it will route and load correctly. Setting some