diff options
author | rfjakob | 2018-01-31 09:26:45 +0100 |
---|---|---|
committer | GitHub | 2018-01-31 09:26:45 +0100 |
commit | 7168f06d86ccebdeba3fb2fe685d3ff0298b4264 (patch) | |
tree | f5de197263681ddf9a076cc93ab5996db68b19e4 /gocryptfs-readthedocs/main.html | |
parent | 246c2639be0fb9fb027b1878479d86cd90b7731a (diff) | |
parent | 9c73c07fda84fd31fd37fd2f9bf56312ca0896c8 (diff) |
Merge pull request #4 from taysu/mkdocs-updates
Updates so site builds with mkdocs 0.17.2
Diffstat (limited to 'gocryptfs-readthedocs/main.html')
-rw-r--r-- | gocryptfs-readthedocs/main.html | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/gocryptfs-readthedocs/main.html b/gocryptfs-readthedocs/main.html new file mode 100644 index 0000000..7de28d2 --- /dev/null +++ b/gocryptfs-readthedocs/main.html @@ -0,0 +1,36 @@ +{% extends "base.html" %} + +{# Override the styles and libs blocks so we can remove the custom fonts and disable syntax highlighting. #} + + {%- block styles %} + <link rel="stylesheet" href="{{ base_url }}/css/theme.css" type="text/css" /> + <link rel="stylesheet" href="{{ base_url }}/css/theme_extra.css" type="text/css" /> + <!--<link rel="stylesheet" href="{{ base_url }}/css/highlight.css">--> + {%- for path in extra_css %} + <link href="{{ path }}" rel="stylesheet"> + {%- endfor %} + {%- endblock %} + + {%- block libs %} + {% if page %} + <script> + // Current page data + var mkdocs_page_name = {{ page.title|tojson|safe }}; + var mkdocs_page_input_path = {{ page.input_path|tojson|safe }}; + var mkdocs_page_url = {{ page.abs_url|tojson|safe }}; + </script> + {% endif %} + <script src="{{ base_url }}/js/jquery-2.1.1.min.js"></script> + <script src="{{ base_url }}/js/modernizr-2.8.3.min.js"></script> + <!--<script type="text/javascript" src="{{ base_url }}/js/highlight.pack.js"></script>--> + {%- endblock %} + + +{# +The entry point for the ReadTheDocs Theme. + +Any theme customisations should override this file to redefine blocks defined in +the various templates. The custom theme should only need to define a main.html +which `{% extends "base.html" %}` and defines various blocks which will replace +the blocks defined in base.html and its included child templates. +#} |