aboutsummaryrefslogtreecommitdiff
path: root/gocryptfs-readthedocs/main.html
blob: 7de28d22397c59023ee16913864ca4d3058a995a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
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.
#}