Skip to content

Commit f40bc09

Browse files
committed
make urls relative
Signed-off-by: cjyabraham <[email protected]>
1 parent 8f8281b commit f40bc09

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

layouts/partials/sidebar-tree.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
</button>
1313
</form>
1414
<div class="search-by-tag">
15-
<a href="{{ ref . "/tags" }}">{{ T "ui_or_search_by_tags" }}</a>
15+
<a href="{{ relref . "/tags" }}">{{ T "ui_or_search_by_tags" }}</a>
1616
</div>
1717
{{ else -}}
1818
<div id="content-mobile">

layouts/partials/taxonomy_terms_article.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<div class="taxonomy taxonomy-terms-article taxo-{{ urlize $taxo }}">
55
<ul class="taxonomy-terms">
66
{{ range ($context.GetTerms $taxo) }}
7-
<li><a class="tax-term" href="{{ ref . "/tags" }}?{{ .LinkTitle }}=true" data-taxonomy-term="{{ urlize .LinkTitle }}">{{ title .LinkTitle }}</a></li>
7+
<li><a class="tax-term" href="{{ relref . "/tags" }}?{{ .LinkTitle }}=true" data-taxonomy-term="{{ urlize .LinkTitle }}">{{ title .LinkTitle }}</a></li>
88
{{ end }}
99
</ul>
1010
</div>

0 commit comments

Comments
 (0)