Community guidelines
Please keep discussions civil and on-topic. Repeated violations may lead to a temporary ban.
lilive Member
@lilive · Joined 7 years ago · 19 posts · 3 topics · 3 reputation
Badges
Recent posts
-
Plugin for changing markdown, text and html of pages automatically ("batch processing")
· 6 years ago
Hello, Just to say that a plugin that fix broken links when moving pages seems a very good idea to me, useful for non-technical users.
-
Display page.content without page.summary
· 6 years ago
Hi, According to the documentation, the one line version should work either. {{ '12345'|slice(1, 2) }} {# outputs 23 #} You can use any valid expression for both the start and the length: slice(start
-
Clear cache for pages displaying datas coming from other pages (via a shortcode)
· 6 years ago
You're right 🙂 I did what you said, and after some tests it doesn't seem to be a performance problem at all. I was worried because my server pack is "for static websites or personnal blogs". But I've
-
Clear cache for pages displaying datas coming from other pages (via a shortcode)
· 6 years ago
Thank you for the suggestion. It is simpler, indeed. But I'm concerned about performances: about 1/2 of my website pages contain such a shortcode, and it is running on a basic shared host.
-
Clear cache for pages displaying datas coming from other pages (via a shortcode)
· 6 years ago
Hello there, I use custom shortcodes ( made with this method Custom Shortcodes > Simple Way ) to display informations coming from other pages. My problem is that the pages with the shortcode do not
-
Find all pages with a custom header field
· 6 years ago
@pamtbaau: Hope this gives you enough ideas to continue… Yes indeed ! Thank you very much for this quick and really complete answer. You make me understand grav better. This code works fine (and the
-
Find all pages with a custom header field
· 6 years ago
Hello, I want to find all the pages with a custom variable in the frontmatter, in php. Here's some pages frontmatters: --- news: location: - New York link: http://kufhlskjflkdjfhls ---
-
Listing page with dynamic tag
· 7 years ago
Another solution, among others, may be: in site.yaml: taxonomies: [category,tag,feature_for] in your machinery page: --- title: "Toaster XYZ" --- in your feature pages: --- taxonomy: feature_for: "To
-
Listing page with dynamic tag
· 7 years ago
Not tested, but you can do something like that: {% for post in taxonomy.findTaxonomy({'category':'features','tag':page.taxonomy.tag|first}).order('date', 'desc') %} This will use the first tag as prod
-
Listing page with dynamic tag
· 7 years ago
Hi, Are you still looking for the solution? It will be easier to help you if you post the code you've already got.