Daily Tips

Today is Monday. The tip below comes from a block that uses two-pass resolution: the block expands first, then a second pass of datetime and data resolves the tokens inside it.

Today's Tip

How Two-Pass Resolution Works Here

  1. The page contains a daily-widget block token
  2. The blocks step expands it, injecting a data token whose key includes a late-pass datetime abbreviation into the page content
  3. The second datetime step resolves the day abbreviation to the current day: Mon, Tue, Wed…
  4. The second data step then looks up tip_title_Mon and finds "Monday Momentum" in content.toml

Seven different tips. One block template. No conditionals. The block uses the late-pass datetime and data emojis (not the early-pass ones) specifically so they resolve in the second pass, after the block has been expanded into the page.