fix URLs when serving from a subdirectory (#120)

This commit is contained in:
dadosch
2020-10-22 17:27:04 +00:00
committed by GitHub
parent 5bc4c2a406
commit 33a68fc44f
7 changed files with 31 additions and 31 deletions
+2 -2
View File
@@ -76,7 +76,7 @@
<div class="row text-left">
<div class="col-md-4">
<a id="theme" href="https://github.com/hossainemruz/toha" target="#">
<img src="/assets/images/inverted-logo.png">
<img src="{{ "/assets/images/inverted-logo.png" | relURL }}">
Toha
</a>
</div>
@@ -84,7 +84,7 @@
<div class="col-md-4 text-right">
<a id="hugo" href="https://gohugo.io/">{{ i18n "hugoAttributionText" }}
<img
src="/assets/images/hugo-logo-wide.svg"
src="{{ "/assets/images/hugo-logo-wide.svg" | relURL }}"
alt="Hugo Logo"
height="18"
/>