fix }}',
        HAS_SOURCE:  {{ has_source|lower }},
        SOURCELINK_SUFFIX:  '{{ sourcelink_suffix }}'
      };
    </script>
    {%- for scriptfile in script_files %}
    {{ js_tag(scriptfile) }}
    {%- endfor %}
{%- endmacro %}

{%- macro css() %}
    <link rel="stylesheet" href="{{ pathto('_static/' + style, 1) }}" type="text/css" />
    <link rel="stylesheet" href="{{ pathto('_static/pygments.css', 1) }}" type="text/css" />
    {%- for cssfile in css_files %}
    <link rel="stylesheet" href="{{ pa