Skip to content

Commit

Permalink
Address missing logo on all but front page (#2155)
Browse files Browse the repository at this point in the history
See comment 2 on #2136
  • Loading branch information
brenthuisman authored Jul 19, 2023
1 parent 031aa2f commit 71e28b8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 9 deletions.
2 changes: 1 addition & 1 deletion doc/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ def setup(app):
}

project = "Arbor"
copyright = "2017-2022, ETHZ & FZJ"
copyright = "2017-2023, ETHZ & FZJ"
author = "ETHZ & FZJ"
todo_include_todos = True

Expand Down
10 changes: 2 additions & 8 deletions doc/scripts/divio_docs_theme/layout.html
Original file line number Diff line number Diff line change
Expand Up @@ -40,14 +40,8 @@

{% endif %}

<link rel="preload" href="{{ pathto('_static/fonts/fontawesome-webfont.woff2', 1) }}" as="font" type="font/woff2" crossorigin />

<link rel="preload" href="{{ pathto('_static/fonts/fontawesome-webfont.woff2?v=4.7.0', 1) }}" as="font" type="font/woff2" crossorigin />
<link rel="stylesheet" href="{{ pathto('_static/pygments.css', 1) }}" type="text/css" />
<link rel="stylesheet" href="{{ pathto('_static/css/divio.css', 1) }}" type="text/css" />

<link rel="apple-touch-icon" href="{{ pathto('_static/favicon.png', 1) }}">
<link rel="icon" type="image/png" href="{{ pathto('_static/favicon.png', 1) }}">
<!--[if IE]><link rel="shortcut icon" href="{{ pathto('_static/favicon.png', 1) }}"><![endif]-->
{%- for css in css_files %}
{%- if css|attr("rel") %}
<link rel="{{ css.rel }}" href="{{ pathto(css.filename, 1) }}" type="text/css"{% if css.title is not none %} title="{{ css.title }}"{% endif %} />
Expand Down Expand Up @@ -131,7 +125,7 @@
<div class="header-title-wrap">
<a class="header-title" href="{{ pathto(master_doc) }}">{{ project }}</a>{% if READTHEDOCS %} v: {{ current_version }}{% endif %}
</div>
<a class="logo-link" target="_blank" href="{{ pathto(master_doc) }}"><img src="{{ pathto(logo_url,1) }}" class="logo" alt="{{ project }}"/></a>
<a class="logo-link" target="_blank" href="{{ pathto(master_doc) }}"><img src="{{ pathto('_static/' + logo,1) }}" class="logo" alt="{{ project }}"/></a>
</div>

{% include "breadcrumbs.html" %}
Expand Down

0 comments on commit 71e28b8

Please sign in to comment.