• #dev 2019-09-22
  • Prev
    Next
  • #indieweb
  • #dev
  • #wordpress
  • #meta
  • #stream
  • #microformats
  • #known
  • #events
#dev ≡
  • ←
  • →
2019-09-22 UTC
# 15:42
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.