pamtbaau Legend
Grav Forum Moderators
@pamtbaau · Joined 8 years ago · 3198 posts · 17 topics · 1020 reputation
Badges
Recent posts
-
Archives - Translating the date
· 6 years ago
@01K, Try the following: Fresh install of Grav 1.7.3 Add the following to frontmatter of '01.home/default.md' title: Home date: 03/03/2021 Add the following to '/user/themes/quark/templates/default.
-
Archives - Translating the date
· 6 years ago
@01K, Have you tried his suggestion? @m4rkinh0: Sorry I do not have enough knowledge to understand the cookbook yet. I would like to use the second approach.
-
Windows installation issues: 'mbstring' extension is not loaded
· 6 years ago
@nemza, Enabled mbstring in the php php.ini-development and php.ini-production files in C:\php Did you copy/rename php.ini-development or php.ini-production to php.ini? Also note that Grav cli co
-
"home" item is not translated in a bilingual website
· 6 years ago
@maria, Had a look at your site, pulled the covers... and it appears to be Gantry using a paid theme called Zenith. Which means I cannot download the theme, test it, look at its code, ... I'm afraid,
-
"home" item is not translated in a bilingual website
· 6 years ago
@maria, what else can I do? You could provide the following info: What does the 'languages' section in 'system.yaml' look like? What is the frontmatter in '01.home/default.en.md' and '01.home/defa
-
Efficient condition to not display reading time when reading time is 0 minutes
· 6 years ago
@AquaL1te, In Twig, the constuct config.plugins.page-toc.enabled is interpreted as config.plugins.page - toc.enabled. The value of the substraction is probably not what you are after... When a plugin/
-
Efficient condition to not display reading time when reading time is 0 minutes
· 6 years ago
@AquaL1te, That's also probably the reason why you use page.readingtime.active. For consistency I would prefer page.readingtime.enabled Grav keeps on developing and therefor older plugins/themes may n
-
Efficient condition to not display reading time when reading time is 0 minutes
· 6 years ago
@AquaL1te, Try the following: {% if config.plugins.readingtime.enabled or page.header.readingtime.active %} {% set readingTime = page.content|readingtime %} {% if not (readingTime starts with '0'
-
Latest tweets plugin not showing as enabled in twig
· 6 years ago
@louigi , {% if config.plugins.latest-tweets.enabled %} is evaluating the result of substracting the values 'config.plugins.latest' and 'tweets.enabled', which is probably not what you want. If you wa
-
Best way to make use of the lightbox + center images
· 6 years ago
@AquaL1te Why? From stackoverflow: The image is display: inline so it is treated like a character and sits on the baseline. The gap is caused by the space provided for the descender (which you find