Skip to content

Commit

Permalink
Merge pull request #60 from ru-fu/path-issue
Browse files Browse the repository at this point in the history
fix path to the tag in the header
  • Loading branch information
Peter Matulis authored Jul 19, 2023
2 parents f11ae29 + 7b6dec9 commit ad78df2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
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

0 comments on commit ad78df2

Please sign in to comment.