diff options
author | Andy Taylor | 2018-01-30 17:44:23 +1100 |
---|---|---|
committer | Andy Taylor | 2018-01-30 17:44:23 +1100 |
commit | ae59c0eeac869190ffe097a8a155efce7403bed3 (patch) | |
tree | 60dd93155065e5adcc5a661cf99a3f6fd513f339 /gocryptfs-readthedocs/base.html | |
parent | 8227871e904be8168e28331e205f0d59e7c044d9 (diff) |
Use logo image in nav, fix logo width for mobiles
Diffstat (limited to 'gocryptfs-readthedocs/base.html')
-rw-r--r-- | gocryptfs-readthedocs/base.html | 12 |
1 files changed, 7 insertions, 5 deletions
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 #} <nav data-toggle="wy-nav-shift" class="wy-nav-side stickynav"> - <div class="wy-side-nav-search"> - {%- block site_name %} - <a href="{{ nav.homepage.url }}" class="icon icon-home"> {{ config.site_name }}</a> - {%- endblock %} + <div class="logo"> + <a class="site-title" href="{{ homepage_url }}"> + <img src="{{ base_url }}/img/gocryptfs-logo.paths-white.svg" alt="gocryptfs"> + </a> {%- block search_button %} {% if 'search' in config['plugins'] %}{% include "searchbox.html" %}{% endif %} {%- endblock %} @@ -98,7 +98,9 @@ {# MOBILE NAV, TRIGGLES SIDE NAV ON TOGGLE #} <nav class="wy-nav-top" role="navigation" aria-label="top navigation"> <i data-toggle="wy-nav-top" class="fa fa-bars"></i> - <a href="{{ nav.homepage.url }}">{{ config.site_name }}</a> + <a href="{{ nav.homepage.url }}"> + <img src="{{ base_url }}/img/gocryptfs-logo.paths-white.svg" alt="gocryptfs"> + </a> </nav> {# PAGE CONTENT #} |