Muut Archive Legend
@Muut · Joined 9 years ago · 18337 posts · 3878 topics · 137 reputation
Badges
Recent posts
-
Blog Permalink Format
· 10 years ago
Well, that can be done, but it would need to be done as a plugin using the onPageContentProcessed event. Read more about Events in the docs. You can look at the shortcode-core or the smartypants plugi
-
Blog Permalink Format
· 10 years ago
Is there no twig override for the headers, so I could for example extract it from the URL and set it from there?
-
Blog Permalink Format
· 10 years ago
Eeally the best way is simply to add the dates into the page headers. Then all the sorting by date functionality would just work. Sure it's a little overhead initially, but wouldn't be much effort g
-
Blog Permalink Format
· 10 years ago
As an alternative approach, say I have a folder /blog with the substructure /year/month/day/post where /postis each page. There are no files in the year, month, or day folders - they are only used for
-
Blog Permalink Format
· 10 years ago
That is excellent, exactly the outcome I had hope for - and the routes are also easy to expand into categorical templates (year, month, date).
-
Blog Permalink Format
· 10 years ago
The regex routes might be an option. Assuming you have some page structure like this: 01.home/ - 2014-03-10-sample-post/ - 2014-04-07-another-post/ ... You could setup a rewrite route like this: r
-
Blog Permalink Format
· 10 years ago
I have found a solution using routes, but am having trouble setting them up correctly. What I have is this: The Regex pattern ^([0-9]{4})-(0[1-9]|1[0-2])-(0[1-9]|[1-2][0-9]|3[0-1])-(.*) will match 201
-
Blog Permalink Format
· 10 years ago
Is it possible to structure the slug's for a blog in the format /blog/YEAR/MONTH/DAY/title? That is, the blog is contained in the blog directory within pages, but it uses the same folder names as the
-
Section for Cheatsheet on http://devdocs.io/
· 10 years ago
Hi all, I am impressed by Grav CMS. I wanted to have a cheatsheet of this CMS saved on Devdocs.io. It provides a simple and consistent way to search through various docs all on the same page, which
-
Photographer Gallery
· 10 years ago
You can do anything :) It might just take some modification and tweaking.