Fixed meta description for posts
Signed-off-by: Jim Martens <github@2martens.de>
This commit is contained in:
parent
14b60efe9b
commit
9035cb0c60
|
@ -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 %}
|
||||
|
|
Loading…
Reference in New Issue