{# A period navigator (components/period.py). Every control is a link or a GET form over the current query string, so the view stays bookmarkable and the header works without JavaScript; with a target, Unpoly swaps that fragment and keeps history. #} {% macro follow() -%} {%- if c.target %} up-follow up-target="{{ c.target }}" up-history="true" up-scroll="false"{% endif -%} {%- endmacro %}