Skip to content

Commit

Permalink
Use page url relative url in title links (syslog-ng#104)
Browse files Browse the repository at this point in the history
Signed-off-by: Hofi <hofione@gmail.com>
  • Loading branch information
HofiOne authored Jun 29, 2024
2 parents 42151f5 + 483aedb commit d523112
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion _layouts/single.html
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
{% if page.title %}
{% 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 %}
<h1 id="page-title" class="page__title p-name page__title_decoration" itemprop="headline">
<a href="{{ page.url | absolute_url }}" class="u-url nav-link" itemprop="url">{{ page.title | liquify | markdownify | remove: "<p>" | remove: "</p>" }}</a>
<a href="{{ page.url | relative_url }}" class="u-url nav-link" itemprop="url">{{ page.title | liquify | markdownify | remove: "<p>" | remove: "</p>" }}</a>
</h1>
{% endif %}
{% comment %}<!--
Expand Down

0 comments on commit d523112

Please sign in to comment.