Skip to content
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

fix path to the tag in the header #60

Merged
merged 1 commit into from
Jul 19, 2023
Merged
Show file tree
Hide file tree
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
2 changes: 1 addition & 1 deletion .sphinx/_templates/header.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<li>
<a class="p-logo" href="https://{{ product_page }}" aria-current="page">
<img src="{{ product_tag }}" alt="Logo" class="p-logo-image">
<img src="{{ pathto(product_tag,1) }}" alt="Logo" class="p-logo-image">
<div class="p-logo-text p-heading--4">{{ project }}
</div>
</a>
Expand Down
4 changes: 2 additions & 2 deletions custom_conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@
'product_page': 'documentation.ubuntu.com',

# Add your product tag to ".sphinx/_static" and change the path
# here (start with "/static"), default is the circle of friends
'product_tag': '/_static/tag.png',
# here (start with "_static"), default is the circle of friends
'product_tag': '_static/tag.png',

# Change to the discourse instance you want to be able to link to
# using the :discourse: metadata at the top of a file
Expand Down