Sha256: b842253bc7892ea8843b6739e38f27b33d36905881af386c50061523c2d6712a
Contents?: true
Size: 1.27 KB
Versions: 1
Compression:
Stored size: 1.27 KB
Contents
{%- if include.collection -%} {%- assign posts = include.collection -%} {%- else -%} {%- assign posts = site.posts -%} {%- endif -%} {%- assign jsstr='' -%} {%- for post in posts limit: include.limit -%} {%- capture url -%} {{ post.url | relative_url }} {%- endcapture -%} {%- capture postdate -%} {{ post.date | date: '%Y-%m-%d' }} {%- endcapture -%} {%- capture posttitlex -%} {{ post.title | replace: '"'," "}} {%- endcapture -%} {%- 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"> </div> </div> <script > (function(){ var _GALLPOSTSTR = "{{jsstr}}"; {%- assign MothStr = site.theme_config.heatMapMonth -%} {%- assign HeatMapShowWeek = site.theme_config.heatMapShowWeek -%} {%- assign HeatMapType = site.theme_config.heatMapType -%} var _HeatMapType = "{{ HeatMapType | default:'1' }}" var _MonthStr = '{{ MothnStr | default: "Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec" }}' var _showWeek = '{{ HeatMapShowWeek | default: "Mon Wed Fri" }}'; {% include heatmap.js %} })() </script>
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
jekyll-zeta-0.7.1 | _includes/heatmap.html |