make the page title a clickable link

This commit is contained in:
りき萌 2024-03-03 21:43:01 +01:00
parent 1d2ce8d701
commit c89f32eeab
2 changed files with 16 additions and 1 deletions

View file

@ -15,7 +15,7 @@
{{/if}}
{{#if (and (ne page.title config.user.title) (ne page.title page.tree_path))}}
<h1 class="page-title">{{ page.title }}</h1>
<h1 class="page-title"><a href="{{ config.site }}/{{ page.tree_path }}">{{ page.title }}</a></h1>
{{/if}}
</div>