How do you change variables with (if:)

the (if:) statement forces a hook at the end. How do I change a variable with a hook?

Comments

  • Use the (set:) macro within the hook. For example:
    (if: …)[(set: $variable to value)]