_includes/custom-head.html in appscms-tools-theme-1.6.3 vs _includes/custom-head.html in appscms-tools-theme-1.6.4
- old
+ new
@@ -1,7 +1,8 @@
<head>
{% assign favicon = site.favicon %} {%- assign seo_description =
- page.description | default: page.excerpt | default: site.description -%} {%-
+ page.description | default: page.content | markdownify | strip_html |
+ truncatewords: 50 | default: page.excerpt | default: site.description -%} {%-
if seo_description -%} {%- assign seo_description = seo_description |
markdownify | strip_html | strip_newlines | escape_once -%} {%- endif -%} {%-
if page.date -%} {%- assign og_type = "article" -%} {%- else -%} {%- assign
og_type = "website" -%} {%- endif -%}
<meta charset="UTF-8" />
\ No newline at end of file