docs: Get rid of a ton of blocking resources from theme.

pull/595/head
David Wilson 6 years ago
parent d002cbbff0
commit 72d8973bc9

@ -1,9 +1,14 @@
{% extends "!layout.html" %} {% extends "!layout.html" %}
{% set css_files = css_files + ['_static/style.css'] %} {% set css_files = css_files + ['_static/style.css'] %}
{% block extrahead %} {# We don't support Sphinx search, so don't let its JS either. #}
{% block scripts %}
{% endblock %}
{# Alabaster ships a completely useless custom.css, suppress it. #}
{%- block extrahead %}
<meta name="google-site-verification" content="oq5hNxRYo25tcfjfs3l6pPxfNgY3JzDYSpskc9q4TYI" /> <meta name="google-site-verification" content="oq5hNxRYo25tcfjfs3l6pPxfNgY3JzDYSpskc9q4TYI" />
{{ super() }} <meta name="viewport" content="width=device-width, initial-scale=0.9, maximum-scale=0.9" />
{% endblock %} {% endblock %}
{% block footer %} {% block footer %}
@ -18,7 +23,13 @@
g.defer=true; g.async=true; g.src=u+'js'; s.parentNode.insertBefore(g,s); g.defer=true; g.async=true; g.src=u+'js'; s.parentNode.insertBefore(g,s);
})(); })();
</script> </script>
<noscript><p><img src="https://networkgenomics.com/p/tr/ep?idsite=6" style="border:0" alt=""></p></noscript>
<noscript>
<p>
{% set fulltitle = (title|striptags|e) + titlesuffix -%}
<img src="https://networkgenomics.com/p/tr/ep?idsite=6&action_name={{fulltitle}}" style="border:0" alt="">
</p>
</noscript>
<script async defer src="https://buttons.github.io/buttons.js"></script> <script async defer src="https://buttons.github.io/buttons.js"></script>
{% endblock %} {% endblock %}

Loading…
Cancel
Save