]>
Commit | Line | Data |
---|---|---|
2b4f3915 | 1 | {% extends "base.html" %} |
2 | ||
3 | {# | |
4 | The entry point for the ReadTheDocs Theme. | |
5 | ||
6 | Any theme customisations should override this file to redefine blocks defined in | |
7 | the various templates. The custom theme should only need to define a main.html | |
8 | which `{% extends "base.html" %}` and defines various blocks which will replace | |
9 | the blocks defined in base.html and its included child templates. | |
10 | #} | |
11 | ||
12 | {%- block site_meta %} | |
13 | <meta charset="utf-8"> | |
14 | <meta http-equiv="X-UA-Compatible" content="IE=edge"> | |
15 | <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
16 | ||
17 | {%- if 'media.readthedocs.org' not in config.extra_css[0] %} | |
18 | <meta name="robots" content="noindex, nofollow"> | |
19 | {%- endif %} | |
20 | ||
21 | {% if page and page.is_homepage %}<meta name="description" content="{{ config.site_description }}">{% endif %} | |
22 | {% if config.site_author %}<meta name="author" content="{{ config.site_author }}">{% endif %} | |
2b4f3915 | 23 | {%- endblock %} |