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

This commit is contained in:
David Wilson 2019-04-22 01:45:43 +01:00
parent d002cbbff0
commit 72d8973bc9
1 changed files with 14 additions and 3 deletions

View File

@ -1,9 +1,14 @@
{% extends "!layout.html" %}
{% 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" />
{{ super() }}
<meta name="viewport" content="width=device-width, initial-scale=0.9, maximum-scale=0.9" />
{% endblock %}
{% block footer %}
@ -18,7 +23,13 @@
g.defer=true; g.async=true; g.src=u+'js'; s.parentNode.insertBefore(g,s);
})();
</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>
{% endblock %}