add baseurl to more internal links in layouts
This commit is contained in:
parent
d22fcbef35
commit
b84c65fda8
@ -11,7 +11,7 @@
|
||||
|
||||
<link rel="icon" type="image/png" href="data:image/png;base64,iVBORw0KGgo=">
|
||||
|
||||
<link rel="stylesheet" href="{{ site.baseurl }}styles.css">
|
||||
<link rel="stylesheet" href="{{ site.baseurl }}/styles.css">
|
||||
|
||||
{% if page.excerpt %}
|
||||
<meta property="og:description" content="{{ page.excerpt | strip_html | strip_newlines | truncate: 160 }}"/>
|
||||
|
@ -1,3 +1,3 @@
|
||||
<div>
|
||||
<a class="internal-link" href="/"><b>{{ site.title }}</b></a>
|
||||
<a class="internal-link" href="{{site.baseurl}}/"><b>{{ site.title }}</b></a>
|
||||
</div>
|
||||
|
@ -22,7 +22,7 @@ layout: default
|
||||
<div style="display: grid; grid-gap: 1em; grid-template-columns: repeat(1fr);">
|
||||
{% for backlink in page.backlinks %}
|
||||
<div class="backlink-box">
|
||||
<a class="internal-link" href="{{ backlink.url }}{%- if site.use_html_extension -%}.html{%- endif -%}">{{ backlink.title }}</a><br>
|
||||
<a class="internal-link" href="{{site.baseurl}}{{ backlink.url }}{%- if site.use_html_extension -%}.html{%- endif -%}">{{ backlink.title }}</a><br>
|
||||
<div style="font-size: 0.9em">{{ backlink.excerpt | strip_html | truncatewords: 20 }}</div>
|
||||
</div>
|
||||
{% endfor %}
|
||||
|
Loading…
x
Reference in New Issue
Block a user