Merge branch 'develop' of https://github.com/mmistakes/minimal-mistakes into develop

* 'develop' of https://github.com/mmistakes/minimal-mistakes:
  formats og:locale tag with underscores (#465)
This commit is contained in:
Michael Rose 2016-08-21 23:26:14 -04:00
commit f52a18c3d8

View file

@ -39,7 +39,7 @@
{% assign seo_author_twitter = seo_author_twitter | replace: "@", "" %} {% assign seo_author_twitter = seo_author_twitter | replace: "@", "" %}
{% endif %} {% endif %}
<meta property="og:locale" content="{{ site.locale | default: "en" }}"> <meta property="og:locale" content="{{ site.locale | replace: "-", "_" | default: "en" }}">
<meta property="og:site_name" content="{{ site.title }}"> <meta property="og:site_name" content="{{ site.title }}">
<meta property="og:title" content="{{ page.title | default: site.title | markdownify | strip_html | strip_newlines | escape_once }}"> <meta property="og:title" content="{{ page.title | default: site.title | markdownify | strip_html | strip_newlines | escape_once }}">