diff options
author | EuAndreh <eu@euandre.org> | 2020-08-19 11:38:25 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2020-08-19 11:42:32 -0300 |
commit | dabb900032eb7bda95a1655bb21e1743484d96c9 (patch) | |
tree | cca9a2d4b28a2ea4d2600f22e3896e7519b96bf4 /_layouts | |
parent | Update Jekyll to 4.0 (diff) | |
download | euandre.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.html | 10 | ||||
-rw-r--r-- | _layouts/index.html | 2 | ||||
-rw-r--r-- | _layouts/tils-listing.html | 2 |
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] }}"><web>EuAndreh</web></pre></a> + <a href="{% link {{ site.t.blog_url[page.lang] }} %}"><web>EuAndreh</web></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> |