{# macros to be available to all templates across arxiv #} {% macro compactsearch(alignstyle="level-right") -%} {# Creates an inline search widget with one input box, a dropdown for field selection, a button, and two tiny help/advanced links. Can be wrapped with Bulma's level element to align vertically with other elements in the same horizontal band. Parameter is a Bulma class that sets overall alignment within level wrapper, allowed values are level-left or level-right. #}
{%- endmacro %} {% macro pagination(current_page) -%} {# Creates a uniform paginator. Currently unfinished - needs parameters to define range, base URL, and current page. #} {%- endmacro %}