Skip to content

Commit

Permalink
fixed image links for deep pages
Browse files Browse the repository at this point in the history
  • Loading branch information
Orbiter committed Nov 30, 2024
1 parent e95dd58 commit 6bb58ba
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion cinder-superhero/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ <h3>Company</h3>
{%- if page.url == '' -%}
<a href="impressum/">Impressum</a>
{% else %}
<a href="../impressum/">Impressum</a>
<a href="/impressum/">Impressum</a>
{%- endif %}


Expand Down
8 changes: 4 additions & 4 deletions cinder-superhero/nav.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
{%- if page.url == '' -%}
<img src="img/YaCyLogo2011_60.png" alt="YaCy" height="40">
{% else %}
<img src="../img/YaCyLogo2011_60.png" alt="YaCy" height="40">
<img src="/img/YaCyLogo2011_60.png" alt="YaCy" height="40">
{%- endif %}
</a>
</div>
Expand Down Expand Up @@ -53,13 +53,13 @@

<ul class="nav navbar-nav navbar-right">
<li>
<a href="https://community.searchlab.eu">{%- if page.url == '' -%}<img src="img/discourse_icon.png" alt="YaCy User Forum" height="16" width="16">{% else %}<img src="../img/discourse_icon.png" alt="YaCy User Forum" height="16" width="16">{%- endif %} User Forum</a>
<a href="https://community.searchlab.eu">{%- if page.url == '' -%}<img src="img/discourse_icon.png" alt="YaCy User Forum" height="16" width="16">{% else %}<img src="/img/discourse_icon.png" alt="YaCy User Forum" height="16" width="16">{%- endif %} User Forum</a>
</li>
<li>
<a href="https://chatgpt.com/g/g-h7fLnaDuI-yacy-support">{%- if page.url == '' -%}<img src="img/openai-white-logomark.png" alt="YaCy Support GPT" height="16" width="16">{% else %}<img src="../img/openai-white-logomark.png" alt="YaCy Support GPT" height="16" width="16">{%- endif %} Support GPT</a>
<a href="https://chatgpt.com/g/g-h7fLnaDuI-yacy-support">{%- if page.url == '' -%}<img src="img/openai-white-logomark.png" alt="YaCy Support GPT" height="16" width="16">{% else %}<img src="/img/openai-white-logomark.png" alt="YaCy Support GPT" height="16" width="16">{%- endif %} Support GPT</a>
</li>
<li>
<a href="https://yacystats.de">{%- if page.url == '' -%}<img src="img/yacystats.png" alt="yacystats" height="16" width="16">{% else %}<img src="../img/yacystats.png" alt="yacystats" height="16" width="16">{%- endif %} Stats</a>
<a href="https://yacystats.de">{%- if page.url == '' -%}<img src="img/yacystats.png" alt="yacystats" height="16" width="16">{% else %}<img src="/img/yacystats.png" alt="yacystats" height="16" width="16">{%- endif %} Stats</a>
</li>

{%- block next_prev %}
Expand Down

0 comments on commit 6bb58ba

Please sign in to comment.