_includes/heatmap.html in jekyll-zeta-0.7.4.2 vs _includes/heatmap.html in jekyll-zeta-0.7.5
- old
+ new
@@ -16,11 +16,14 @@
{%- 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 }}';