Use Dependency Graph to inform Last Modified Dates
#4168
jalberto
started this conversation in
Enhancement Queue
Replies: 2 comments
-
|
This would require Eleventy to analyze what templates are included/rendered (dependencies) in order to use those date(s) as the last modified date. Related to harttle/liquidjs#233, though that solution (rendering the template with a fake filesystem to capture read calls) does not seem viable. |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
Blocked by #4167 (for Liquid specifically) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Describe the bug
when using
date: Last Modifiedin aliquidfile thatincludesother files, the date doesn't change when only an include is being modifiedTo Reproduce
Expected behavior
Last-Modifiedshould take into consideration compiled result for dateEnvironment:
Beta Was this translation helpful? Give feedback.
All reactions