Sha256: db96bf0a5fe4c68d621d1b51979b2f9bcba4648d62dff70df53388eb94a0968c

Contents?: true

Size: 1001 Bytes

Versions: 2

Compression:

Stored size: 1001 Bytes

Contents

{%- if include.collection -%}
  {%- assign posts = include.collection -%}  
{%- else -%}
  {%- assign posts = site.posts -%}
{%- endif -%}

<div>
<span class="heatmap-title">{{ heatMapTitle | site.theme_config.heatMapTitle }}</span>
<div class='heatmap' id="heatmap">
  

</div>
</div>
<script >
  (function(){

    {%- assign MothStr = site.theme_config.heatMapMonth  -%}
    {%- assign HeatMapShowWeek = site.theme_config.heatMapShowWeek  -%}

    {%- assign HeatMapType = site.theme_config.heatMapType  -%}

    {%- assign heatMapLoadCount = site.theme_config.heatMapLoadCount | default: 8  -%}
    

    const heatMapLoadCount = {{heatMapLoadCount}}
    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" }}';

    var _allyearurl =  '{{ "assets/dyn/allyear.json" | relative_url }}';
    {% include heatmap.js %}
  })()
</script>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
jekyll-zeta-0.7.5.1 _includes/heatmap.html
jekyll-zeta-0.7.5 _includes/heatmap.html