{% macro theme_local(path) -%} {%- endmacro %} {%- macro _make_relative_path(path, prepend_static_url) -%} {%- if prepend_static_url -%} {{ STATIC_URL }}/{{ path }} {%- else -%} {{ path }} {%- endif -%} {%- endmacro -%} {% macro render_less_link(path_input, prepend_static_url=True) -%} {%- if not settings.PREPROCESS_LESS -%} {%- else -%} {% if path_input.endswith('.less') %} {{ preprocess_less(path_input) }} {% set path_input=("%s.css" % path_input[:-5]) %} {% endif %} {% filter compress %} {% endfilter %} {%- endif -%} {%- endmacro -%} {% macro navigation_link(name, url, section) -%} {#
  • section: {{ section }}, current_section: {{ current_section }}
  • #} {{ name }} {%- endmacro %}