aboutsummaryrefslogtreecommitdiff
path: root/.themes/classic
diff options
context:
space:
mode:
authorFrederic Hemberger <mail@frederic-hemberger.de>2011-10-21 15:00:32 +0200
committerFrederic Hemberger <mail@frederic-hemberger.de>2011-10-21 15:00:32 +0200
commita81ef5e28bc2abb846a2a3da04dd43aa7ca547a1 (patch)
tree24f0da4cda6bc0304545bf3a862affbb202de68f /.themes/classic
parent514e84831ca2d9bce27c2a209b67fce26b5c52e8 (diff)
downloadmy_new_personal_website-a81ef5e28bc2abb846a2a3da04dd43aa7ca547a1.tar.xz
my_new_personal_website-a81ef5e28bc2abb846a2a3da04dd43aa7ca547a1.zip
Improve handling of meta description
Diffstat (limited to '.themes/classic')
-rw-r--r--.themes/classic/source/_includes/head.html2
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 -->