Skip to content

Commit

Permalink
Updating template to add include_logo_text (#10)
Browse files Browse the repository at this point in the history
* Updating template to add `include_logo_text`

* Set default to True

* Fixing up layout
  • Loading branch information
jsignell authored Oct 29, 2019
1 parent 210533f commit a62926b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
4 changes: 3 additions & 1 deletion sphinx_pyviz_theme/layout.html
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,9 @@
<a href="{{ pathto('index') }}" class="logo">
<img src="{{ pathto('_static/' + theme_logo, 1) }}" alt="Logo">
</a>
<a href="{{ pathto('index') }}" class="navigation-menu logo-text">{{ PROJECT }}</a>
{% if theme_include_logo_text|tobool %}
<a href="{{ pathto('index') }}" class="navigation-menu logo-text">{{ PROJECT }}</a>
{% endif %}
<a href="javascript:void(0)" class="navigation-menu-button" id="js-mobile-menu">Menu</a>
<nav>
<ul id="js-navigation-menu" class="navigation-menu show">
Expand Down
3 changes: 2 additions & 1 deletion sphinx_pyviz_theme/theme.conf
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,10 @@ css = css/main.css
custom_css =
favicon = images/favicon.ico
logo = images/logo.png
include_logo_text = true
primary_color = coral
primary_color_dark = sienna
secondary_color = gold
first_nav = true
second_nav = false
footer = true
footer = true

0 comments on commit a62926b

Please sign in to comment.