2019-09-22 UTC
# jeremycherfas I've been trying to get a partial to use a different value for a variable it uses, so I can use the partial in a modular page. The partial uses page.date, but that's the date of the modular page. I want it to use p.header.date from the actual module. I tried a bunch of variations on '
{% include 'partials/blog/date.html.twig' with {'page.date': p.header.date | date("U") %}
' but none of them worked.