_includes/heatmap.html in jekyll-zeta-0.7.0 vs _includes/heatmap.html in jekyll-zeta-0.7.1

- old
+ new

@@ -12,16 +12,20 @@ {%- capture url -%} {{ post.url | relative_url }} {%- endcapture -%} {%- capture postdate -%} -{{ post.date | date: '%Y-%m-%d' }} +{{ post.date | date: '%Y-%m-%d' }} {%- endcapture -%} -{%- capture jsstr -%} +{%- capture posttitlex -%} +{{ post.title | replace: '"'," "}} +{%- endcapture -%} -{{ jsstr | append: url | append:"\x01" | append: post.title | append:"\x01" | append: postdate | append:"\n" }} + +{%- capture jsstr -%} +{{ jsstr | append: url | append:"\x01" | append: posttitlex | append:"\x01" | append: postdate | append:"\n" }} {%- endcapture -%} {%- endfor -%} <div> <span class="heatmap-title">{{ heatMapTitle | site.theme_config.heatMapTitle }}</span> <div class='heatmap' id="heatmap">