aboutsummaryrefslogtreecommitdiff
path: root/_layouts
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2020-08-19 11:38:25 -0300
committerEuAndreh <eu@euandre.org>2020-08-19 11:42:32 -0300
commitdabb900032eb7bda95a1655bb21e1743484d96c9 (patch)
treecca9a2d4b28a2ea4d2600f22e3896e7519b96bf4 /_layouts
parentUpdate Jekyll to 4.0 (diff)
downloadeuandre.org-dabb900032eb7bda95a1655bb21e1743484d96c9.tar.gz
euandre.org-dabb900032eb7bda95a1655bb21e1743484d96c9.tar.xz
Use {% link %} tag to assert valid links
Diffstat (limited to '_layouts')
-rw-r--r--_layouts/default.html10
-rw-r--r--_layouts/index.html2
-rw-r--r--_layouts/tils-listing.html2
3 files changed, 7 insertions, 7 deletions
diff --git a/_layouts/default.html b/_layouts/default.html
index de8c726..bfb7a79 100644
--- a/_layouts/default.html
+++ b/_layouts/default.html
@@ -5,8 +5,8 @@
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="/styles.css">
- <link rel="alternate" type="application/atom+xml" href="{{ site.t.feed.url.blog[page.lang] }}" hreflang="{{ page.lang}}" title="{{ site.t.feed.title.blog[page.lang] }}" />
- <link rel="alternate" type="application/atom+xml" href="{{ site.t.feed.url.til[page.lang] }}" hreflang="{{ page.lang}}" title="{{ site.t.feed.title.til[page.lang] }}" />
+ <link rel="alternate" type="application/atom+xml" href="{% link {{ site.t.feed.url.blog[page.lang] }} %}" hreflang="{{ page.lang}}" title="{{ site.t.feed.title.blog[page.lang] }}" />
+ <link rel="alternate" type="application/atom+xml" href="{% link {{ site.t.feed.url.til[page.lang] }} %}" hreflang="{{ page.lang}}" title="{{ site.t.feed.title.til[page.lang] }}" />
<title>{{ page.title }}</title>
<meta property="og:site_name" content="{{ site.title }}" />
@@ -26,7 +26,7 @@
<header>
<nav>
<div id="nav-left">
- <a href="{{ site.t.blog_url[page.lang] }}">&lt;web&gt;EuAndreh&lt;/web&gt;</pre></a>
+ <a href="{% link {{ site.t.blog_url[page.lang] }} %}">&lt;web&gt;EuAndreh&lt;/web&gt;</pre></a>
</div>
<div id="nav-right">
{% if page.ref != nil %}
@@ -57,8 +57,8 @@
{% endfor %}
</ul>
{% endif %}
- <a href="{{ site.t.til_url[page.lang] }}">{{ site.t.til[page.lang] }}</a>
- <a href="{{ site.t.about_url[page.lang] }}">{{ site.t.about[page.lang] }}</a>
+ <a href="{% link {{ site.t.til_url[page.lang] }} %}">{{ site.t.til[page.lang] }}</a>
+ <a href="{% link {{ site.t.about_url[page.lang] }} %}">{{ site.t.about[page.lang] }}</a>
</div>
</nav>
</header>
diff --git a/_layouts/index.html b/_layouts/index.html
index 1337252..3b0f281 100644
--- a/_layouts/index.html
+++ b/_layouts/index.html
@@ -3,7 +3,7 @@ layout: default
---
<h2>
{{ site.t.recent_posts[page.lang] }}
- <a href="{{ site.t.feed.url.blog[page.lang] }}">
+ <a href="{% link {{ site.t.feed.url.blog[page.lang] }} %}">
<img class="simple-icon" src="/images/atom.svg" alt="{{ site.t.alt.atom[page.lang] }}" />
</a>
</h2>
diff --git a/_layouts/tils-listing.html b/_layouts/tils-listing.html
index 4e5d4af..0a59a19 100644
--- a/_layouts/tils-listing.html
+++ b/_layouts/tils-listing.html
@@ -3,7 +3,7 @@ layout: default
---
<h2>
{{ site.t.til_listing[page.lang] }}
- <a href="{{ site.t.feed.url.til[page.lang] }}">
+ <a href="{% link {{ site.t.feed.url.til[page.lang] }} %}">
<img class="simple-icon" src="/images/atom.svg" alt="{{ site.t.alt.atom[page.lang] }}" />
</a>
</h2>