diff options
author | Frederic Hemberger <mail@frederic-hemberger.de> | 2011-10-21 15:00:32 +0200 |
---|---|---|
committer | Frederic Hemberger <mail@frederic-hemberger.de> | 2011-10-21 15:00:32 +0200 |
commit | a81ef5e28bc2abb846a2a3da04dd43aa7ca547a1 (patch) | |
tree | 24f0da4cda6bc0304545bf3a862affbb202de68f /.themes/classic/source/_includes/head.html | |
parent | 514e84831ca2d9bce27c2a209b67fce26b5c52e8 (diff) | |
download | my_new_personal_website-a81ef5e28bc2abb846a2a3da04dd43aa7ca547a1.tar.xz my_new_personal_website-a81ef5e28bc2abb846a2a3da04dd43aa7ca547a1.zip |
Improve handling of meta description
Diffstat (limited to '.themes/classic/source/_includes/head.html')
-rw-r--r-- | .themes/classic/source/_includes/head.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.themes/classic/source/_includes/head.html b/.themes/classic/source/_includes/head.html index 51c5415e..0fdc4019 100644 --- a/.themes/classic/source/_includes/head.html +++ b/.themes/classic/source/_includes/head.html @@ -8,7 +8,7 @@ <meta name="author" content="{{ site.author }}"> {% capture description %}{% if page.description %}{{ page.description }}{% else %}{{ content | raw_content }}{% endif %}{% endcapture %} - <meta name="description" content="{{ description | strip_newlines | strip_html | truncate:150 }}"> + <meta name="description" content="{{ description | strip_html | condense_spaces | truncate:150 }}"> {% if page.keywords %}<meta name="keywords" content="{{ page.keywords }}">{% endif %} <!-- http://t.co/dKP3o1e --> |