aboutsummaryrefslogtreecommitdiff
path: root/_layouts
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2020-08-12 09:48:59 -0300
committerEuAndreh <eu@euandre.org>2020-08-12 10:00:22 -0300
commit169aa4ff4d0fd28950f3bcff823cff1a795997d1 (patch)
tree09810a9eee66f9d1f8ba93df02a81ca3799ef0d9 /_layouts
parentdefault.html: Add hreflang to <link alternate> tags (diff)
downloadeuandre.org-169aa4ff4d0fd28950f3bcff823cff1a795997d1.tar.gz
euandre.org-169aa4ff4d0fd28950f3bcff823cff1a795997d1.tar.xz
Add title to pages missing it
Diffstat (limited to '_layouts')
-rw-r--r--_layouts/default.html4
1 files changed, 1 insertions, 3 deletions
diff --git a/_layouts/default.html b/_layouts/default.html
index 014207e..54e97d1 100644
--- a/_layouts/default.html
+++ b/_layouts/default.html
@@ -12,9 +12,7 @@
<meta property="og:site_name" content="{{ site.title }}" />
<meta name="author" content="{{ site.author.name }}" />
<meta property="og:locale" content="{{ page.lang }}" />
- {% if page.title %}
- <meta property="og:title" content="{{ page.title | xml_escape }}" />
- {% endif %}
+ <meta property="og:title" content="{{ page.title | xml_escape }}" />
<link rel="canonical" href="{{ page.url | absolute_url }}" />
<meta property="og:url" content="{{ page.url | absolute_url }}" />