mirror of
https://github.com/kennethreitz/python-guide.git
synced 2026-06-05 14:50:19 +00:00
32 lines
1.2 KiB
HTML
32 lines
1.2 KiB
HTML
{% extends "!layout.html" %}
|
|
|
|
{%- block extrahead %}
|
|
{# No super() because we want to avoid loading an empty custom.css file #}
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=0.9, maximum-scale=0.9" />
|
|
|
|
{% if pagename == 'index' %}
|
|
<link rel="canonical" href="https://docs.python-guide.org/"/>
|
|
{% elif pagename == '404' %}
|
|
{# No canonical on our 404 template. #}
|
|
{% else %}
|
|
<link rel="canonical" href="https://docs.python-guide.org/{{ pagename }}/"/>
|
|
{% endif %}
|
|
|
|
<link rel="icon" type="image/png" href="https://media.readthedocs.org/images/favicon.png">
|
|
|
|
<meta name="google-site-verification" content="013PxE2_8KX9jdUSC5gr8QsfdxTXr1mFgmD9zplp5II" />
|
|
|
|
{# Alabaster theme native GA integration is outdated (ga.js). #}
|
|
{# Insert our own GA snippet instead. #}
|
|
<script>
|
|
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
|
|
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
|
|
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
|
|
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
|
|
|
|
ga('create', 'UA-37242602-11', 'auto');
|
|
ga('send', 'pageview');
|
|
</script>
|
|
{% endblock %}
|