aboutsummaryrefslogtreecommitdiffstats
path: root/pelican-bootstrap3/templates/base.html
diff options
context:
space:
mode:
authorMichaelYin <hgyinjian@gmail.com>2013-12-12 20:47:35 +0800
committerMichaelYin <hgyinjian@gmail.com>2013-12-12 20:47:35 +0800
commit52654cf609ef0c8b2bd284d3c89b20e07e7de81d (patch)
tree212fd2c81465e99bd8c81371054cf3782ba3fe41 /pelican-bootstrap3/templates/base.html
parentfafcb745cc525885a575ca5f49e2b32c0ce78369 (diff)
downloadpelican-themes-52654cf609ef0c8b2bd284d3c89b20e07e7de81d.tar.gz
html escape fixed
make sure description which contain html work right make pygment css only work in highlight class
Diffstat (limited to 'pelican-bootstrap3/templates/base.html')
-rw-r--r--pelican-bootstrap3/templates/base.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/pelican-bootstrap3/templates/base.html b/pelican-bootstrap3/templates/base.html
index 0777948..aea298d 100644
--- a/pelican-bootstrap3/templates/base.html
+++ b/pelican-bootstrap3/templates/base.html
@@ -22,7 +22,7 @@
<meta property="og:type" content="article"/>
<meta property="og:title" content="{{ article.title }}"/>
<meta property="og:url" content="{{ SITEURL }}/{{ article.url }}"/>
- <meta property="og:description" content="{{ article.summary|striptags }}"/>
+ <meta property="og:description" content="{{ article.summary|striptags|e }}"/>
{% elif page %}
<meta property="og:type" content="article"/>
<meta property="og:title" content="{{ page.title }}"/>
@@ -120,4 +120,4 @@
<script src="{{ SITEURL }}/theme/js/respond.min.js"></script>
{% include 'includes/disqus_script.html' %}
</body>
-</html> \ No newline at end of file
+</html>