From c2eeba892f634fb1ba7feec993c0df3dd36642af Mon Sep 17 00:00:00 2001 From: Andy Taylor Date: Mon, 29 Jan 2018 17:32:28 +1100 Subject: Adding copy of readthedocs theme from mkdocs 0.17.2 source --- gocryptfs-readthedocs/base.html | 137 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 137 insertions(+) create mode 100644 gocryptfs-readthedocs/base.html (limited to 'gocryptfs-readthedocs/base.html') diff --git a/gocryptfs-readthedocs/base.html b/gocryptfs-readthedocs/base.html new file mode 100644 index 0000000..ccca048 --- /dev/null +++ b/gocryptfs-readthedocs/base.html @@ -0,0 +1,137 @@ + + + + + {%- block site_meta %} + + + + {% if page and page.is_homepage %}{% endif %} + {% if config.site_author %}{% endif %} + {% if config.site_favicon %} + {% else %}{% endif %} + {%- endblock %} + + {%- block htmltitle %} + {% if page and page.title and not page.is_hompage %}{{ page.title }} - {% endif %}{{ config.site_name }} + {%- endblock %} + + {%- block styles %} + + + + + + {%- for path in extra_css %} + + {%- endfor %} + {%- endblock %} + + {%- block libs %} + {% if page %} + + {% endif %} + + + + {%- endblock %} + + {%- block extrahead %} {% endblock %} + + {%- block analytics %} + {% if config.google_analytics %} + + {% endif %} + {%- endblock %} + + + + +
+ + {# SIDE NAV, TOGGLES ON MOBILE #} + + +
+ + {# MOBILE NAV, TRIGGLES SIDE NAV ON TOGGLE #} + + + {# PAGE CONTENT #} +
+
+ {% include "breadcrumbs.html" %} +
+
+ {% block content %} + {{ page.content }} + {% endblock %} +
+
+ {%- block footer %} + {% include "footer.html" %} + {% endblock %} +
+
+ +
+ +
+ + {% include "versions.html" %} + + {%- block scripts %} + + + {%- for path in extra_javascript %} + + {%- endfor %} + {%- endblock %} + + + +{% if page and page.is_homepage %} + +{% endif %} -- cgit v1.2.3 From 3e61b616f21b7ea2b575ddeb8e31fc11e8e34caf Mon Sep 17 00:00:00 2001 From: Andy Taylor Date: Tue, 30 Jan 2018 16:35:59 +1100 Subject: Remove breadcrumbs --- gocryptfs-readthedocs/base.html | 1 - 1 file changed, 1 deletion(-) (limited to 'gocryptfs-readthedocs/base.html') diff --git a/gocryptfs-readthedocs/base.html b/gocryptfs-readthedocs/base.html index ccca048..fdd34ac 100644 --- a/gocryptfs-readthedocs/base.html +++ b/gocryptfs-readthedocs/base.html @@ -99,7 +99,6 @@ {# PAGE CONTENT #}
- {% include "breadcrumbs.html" %}
{% block content %} -- cgit v1.2.3 From b4c4781690ef18a2e86c769012a605b4ed1a16ba Mon Sep 17 00:00:00 2001 From: Andy Taylor Date: Tue, 30 Jan 2018 17:23:16 +1100 Subject: Add external links to sidebar --- gocryptfs-readthedocs/base.html | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'gocryptfs-readthedocs/base.html') diff --git a/gocryptfs-readthedocs/base.html b/gocryptfs-readthedocs/base.html index fdd34ac..f7fe8d4 100644 --- a/gocryptfs-readthedocs/base.html +++ b/gocryptfs-readthedocs/base.html @@ -82,6 +82,11 @@ {% include 'nav.html' %} {% endfor %} + +
  • Download Binaries ➚
  • +
  • Changelog ➚
  • +
  • Man Page ➚
  • + {%- endblock %}
    -- cgit v1.2.3 From ae59c0eeac869190ffe097a8a155efce7403bed3 Mon Sep 17 00:00:00 2001 From: Andy Taylor Date: Tue, 30 Jan 2018 17:44:23 +1100 Subject: Use logo image in nav, fix logo width for mobiles --- gocryptfs-readthedocs/base.html | 12 +++++++----- gocryptfs-readthedocs/css/theme_extra.css | 2 +- 2 files changed, 8 insertions(+), 6 deletions(-) (limited to 'gocryptfs-readthedocs/base.html') diff --git a/gocryptfs-readthedocs/base.html b/gocryptfs-readthedocs/base.html index f7fe8d4..9b78345 100644 --- a/gocryptfs-readthedocs/base.html +++ b/gocryptfs-readthedocs/base.html @@ -64,10 +64,10 @@ {# SIDE NAV, TOGGLES ON MOBILE #}