aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2020-08-12 09:46:59 -0300
committerEuAndreh <eu@euandre.org>2020-08-12 09:47:27 -0300
commit9f7fbb0b61e52325100f1e3cafc848b8b8c38194 (patch)
tree800283ed89bb8932a5f4207d4ba9a3756f361bfa
parentdefault.html: Add page title meta attribute only when it exists (diff)
downloadeuandre.org-9f7fbb0b61e52325100f1e3cafc848b8b8c38194.tar.gz
euandre.org-9f7fbb0b61e52325100f1e3cafc848b8b8c38194.tar.xz
default.html: Add hreflang to <link alternate> tags
-rw-r--r--_layouts/default.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/_layouts/default.html b/_layouts/default.html
index 79284fb..014207e 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] }}" title="{{ site.t.feed.title.blog[page.lang] }}" />
- <link rel="alternate" type="application/atom+xml" href="{{ site.t.feed.url.til[page.lang] }}" title="{{ site.t.feed.title.til[page.lang] }}" />
+ <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] }}" />
<title>{{ page.title }}</title>
<meta property="og:site_name" content="{{ site.title }}" />