Comments (4)
Something seems not right to me though, I just tested this and it renders just fine on my Craft 5 install? date
is a valid function in Twig: https://twig.symfony.com/doc/3.x/functions/date.html
The current SEOmatic has this set to:
# (required) Expiration date for the security information herein
Expires: {{ date('+1 year')|atom }}
from craft-seomatic.
Turns out I can use now
instead of date.
Good to see that the error message also comes up when trying to save the file as well, nice touch 👍
from craft-seomatic.
Glad you got it sorted
from craft-seomatic.
I can confirm this is working for me.
The issue was probably the date_modify filter on the date variable itself
from craft-seomatic.
Related Issues (20)
- Craft 5 Type Error caused by missing SourceId when trying to edit matrix block (entry type) HOT 6
- SEO Meta Descriptions and Page Titles not matching in Google Search HOT 1
- Allow to set noindex,follow in the SEO settings field HOT 3
- Use entry variables in meta tags HOT 3
- Including indexable files within the XML sitemap via related download entries HOT 3
- Alt Tags not being seen through site audit on multiple crawlers HOT 1
- Google Web Stories HOT 1
- Error on save SeoMatic settings HOT 2
- Unable to change SEO metafields after changing entry type HOT 5
- How to update frontendTemplatesContainer via content migration HOT 2
- Canonicals and hreflangs for paginated paginas HOT 3
- Duplicate section in Content SEO HOT 1
- Sitemap URL inconsistencies HOT 2
- `disallowRobots` does't override SEOmatic settings HOT 1
- Internal Server Error when opening Site Settings HOT 5
- Updated SEO description - not displaying correctly in template
- Managment of ai.txt HOT 1
- Default SEO Image Source is not rendered HOT 2
- Unable to view "Site Settings" tab in control panel HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from craft-seomatic.