Muut Archive Legend
@Muut · Joined 9 years ago · 18337 posts · 3878 topics · 137 reputation
Badges
Recent posts
-
How do I change the learn2 default site title from Grav?
· 10 years ago
Hi, you mean the logo appearing in the sidebar? That's defined in this file https://github.com/getgrav/grav-theme-learn2/blob/develop/templates/partials/logo.html.twig as an SVG image. You might want
-
How do I change the learn2 default site title from Grav?
· 10 years ago
I downloaded the RTFM Site Skeleton package to my local Mac development machine. It works fine. I installed the admin plugin. I want to change the default site title "Grav" to my site title, "Altoplac
-
Routings tags
· 10 years ago
That works, and is also how many themes apply the logic. However, rather than filter the collection/content by the tag I have set up a separate template for tags which lists all content with the speci
-
Routings tags
· 10 years ago
There is nothing special about /tag:something. This is just a Grav parameter that is available on any URL. You can just change the URL of where you want to filter (by overriding the plugin template
-
Routings tags
· 10 years ago
That excludes the PHP-error, but /tags/readability now returns a 404 - without any displayed or logged error. I wonder if it might not altogether be easier to do it through .htaccess, so that /tags/re
-
Routings tags
· 10 years ago
Ah, sorry. You are right. You have to exclude any route having the param separator in it. This should solve it: routes: '^/tags/([^;]+)$': '/tags/tag;$1' ---
-
Routings tags
· 10 years ago
Hmm, using that route and testing /tags/readability still yields the error.
-
Routings tags
· 10 years ago
Hi @Gingah, routes are not anchored (see my earlier post https://getgrav.org/forum#!/general:redirection-problem ). You need at least routes: '^/tags/(.*)': '/tags/tag;$1' to make it work, otherwis
-
Routings tags
· 10 years ago
An initial test using: routes: /tags/(.*): '/tags/tag;$1' Yields this error: [Tue Apr 19 01:03:33.517996 2016] [:error] [pid 2460:tid 1224] [client ::1:57842] PHP Fatal error: Allowed memory size
-
Routings tags
· 10 years ago
I have a frontpage which is modular in nature, but not in setup, meaning that I display posts from specific taxonomies through loops in twig to get the following structure (Taxonomy: Limit): - Feature