You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When refreshing the page, the dateModified field incorrectly displays the current datetime rather than the expected string representing the page's last modified date in Power Pages. The intention is to utilize liquid syntax to assign the page's modification date as a string to dateModified using the following code:
When refreshing the page, the dateModified field incorrectly displays the current datetime rather than the expected string representing the page's last modified date in Power Pages. The intention is to utilize liquid syntax to assign the page's modification date as a string to dateModified using the following code:
dateModified: "{{ page.modifiedon | date:'yyyy-MM-dd'}}"
Within the HTML source code, this appears to function correctly, as shown here:
However, the output rendered on the pages reflects the current datetime, not the last modified date of the page:
The text was updated successfully, but these errors were encountered: