{% set step = request.query_params.get("tour") %} {% if step and request.url.path != "/welcome" %} {% set copy = { "1": ("Step 1 of 3", "We found 4 wash sales in your demo portfolio. Scroll to the Wash Sale Watch panel below.", "/tax?tour=2"), "2": ("Step 2 of 3", "Harvesting these losses would save approximately $1,247 in taxes this year.", "/?tour=3"), "3": ("Step 3 of 3", "Your portfolio: 2 accounts, mix of stocks, options, and §1256 contracts.", "/?tour=done"), "done": ("All set", "You've seen the highlights. Ready to switch to your real data?", None), } %} {% set heading, body, next_href = copy.get(step, ("", "", None)) %} {% if heading %}