Skip to content

Fix layout of logo. #191

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions alabaster/about.html
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
{% if theme_logo %}
<p class="logo">
<h1 class="logo">
<a href="{{ pathto(master_doc) }}">
<img class="logo" src="{{ pathto('_static/' ~ theme_logo, 1) }}" alt="Logo" />
{% if theme_logo_name|lower == 'true' %}
<h1 class="logo logo-name">{{ project }}</h1>
<span class="logo logo-name">{{ project }}</span>
{% elif theme_logo_name|lower != 'false' %}
<h1 class="logo logo-name">{{ theme_logo_name }}</h1>
<span class="logo logo-name">{{ theme_logo_name }}</span>
{% endif %}
</a>
</p>
</h1>
{% else %}
<h1 class="logo"><a href="{{ pathto(master_doc) }}">{{ project }}</a></h1>
{% endif %}
Expand Down