Skip to content

Commit d523112

Browse files
authored
Use page url relative url in title links (#104)
Signed-off-by: Hofi <[email protected]>
2 parents 42151f5 + 483aedb commit d523112

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

_layouts/single.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
{% if page.title %}
3434
{% comment %}<!-- <h1 id="page-title" class="page__title p-name {% if page.subtitle == null and page.description == null %} page__title_decoration{% endif %}" itemprop="headline"> -->{% endcomment %}
3535
<h1 id="page-title" class="page__title p-name page__title_decoration" itemprop="headline">
36-
<a href="{{ page.url | absolute_url }}" class="u-url nav-link" itemprop="url">{{ page.title | liquify | markdownify | remove: "<p>" | remove: "</p>" }}</a>
36+
<a href="{{ page.url | relative_url }}" class="u-url nav-link" itemprop="url">{{ page.title | liquify | markdownify | remove: "<p>" | remove: "</p>" }}</a>
3737
</h1>
3838
{% endif %}
3939
{% comment %}<!--

0 commit comments

Comments
 (0)