_includes/heatmap.html in jekyll-zeta-0.9.2.2 vs _includes/heatmap.html in jekyll-zeta-0.9.3

- old
+ new

@@ -27,19 +27,16 @@ <script > function create_heatmap(heatmapid,endYear){ {%- 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 WeeKStartStr = "{{ site.theme_config.heatMapWeekStart | default: 0 }}" ;// 0 sunday 1 monday 2. tuesday ... - 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" }}'; + const heatMapLoadCount = {{heatMapLoadCount}}; + var _MonthStr = '{{ MothnStr | default: "Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec" }}'; + var _showWeek = '{{ HeatMapShowWeek | default: "Sun Mon Tue Wed Thu Fri Sat" }}'; var _allyearurl = '{{ "assets/dyn/allyear.json" | relative_url }}'; {% include heatmap.js %} } </script> \ No newline at end of file