hisat-3n/docs/_includes/page-url-resolver.html
2025-01-18 21:09:52 +08:00

8 lines
259 B
HTML

{% assign page = include.page %}
{% if page.canonical %}
{% assign url = page.canonical | prepend: site.baseurl | prepend: site.url %}
{% else %}
{% assign url = page.url | replace: 'index.html', '' | prepend: site.baseurl | prepend: site.url %}
{% endif %}