From 8682faa30e60bdf78f5f00446824a48f87a74254 Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Thu, 27 Aug 2020 06:46:47 -0300 Subject: _layouts/default.html: Add description meta tag --- _layouts/default.html | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to '_layouts') diff --git a/_layouts/default.html b/_layouts/default.html index 03429a9..94ac1b7 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -12,6 +12,16 @@ + {% capture raw_description %} + {% if page.description %} + {{ page.description }} + {% else %} + {{ site.description }} + {% endif %} + {% endcapture %} + {% assign description = raw_description | strip_html | strip %} + + -- cgit v1.2.3