From 308cf7a523df8321e2c8290e30f23309b5da3bd1 Mon Sep 17 00:00:00 2001 From: Aaron Gustafson Date: Fri, 31 Mar 2017 14:19:37 -0400 Subject: [PATCH] Added support for locale exposure as `og:locale` --- lib/template.html | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/lib/template.html b/lib/template.html index eacff7f..50488b1 100755 --- a/lib/template.html +++ b/lib/template.html @@ -97,6 +97,10 @@ {% assign seo_page_image = seo_page_image | escape %} {% endif %} +{% if site.locale %} + {% assign seo_page_locale = page.locale | default: site.locale %} +{% endif %} + {% if seo_tag.title and seo_title %} {{ seo_title }} {% endif %} @@ -109,6 +113,10 @@ {% endif %} +{% if seo_page_locale %} + +{% endif %} + {% if seo_description %}