Fixed meta description for posts

Signed-off-by: Jim Martens <github@2martens.de>
This commit is contained in:
Jim Martens 2018-01-09 17:54:06 +01:00
parent 14b60efe9b
commit 9035cb0c60
1 changed files with 1 additions and 1 deletions

View File

@ -4,7 +4,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<title>{% if page.title %}{{ page.title }} - {% endif %}{{ site.title }}</title>
<meta name="description"
content="{% if post.excerpt %}{{ post.excerpt | strip_html | strip_newlines | truncate: 160 }}{% elsif page.description %}{{ page.description }}{% else %}{{ site.description }}{% endif %}">
content='{% if page.excerpt %}{{ page.excerpt | strip_html | strip | truncatewords: 75 }}{% elsif page.description %}{{ page.description }}{% else %}{{ site.description }}{% endif %}'>
{% asset main.css %}
{% asset fa-svg-with-js.css %}