diff options
Diffstat (limited to 'layouts/partials/contribution-graph.html')
| -rw-r--r-- | layouts/partials/contribution-graph.html | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/layouts/partials/contribution-graph.html b/layouts/partials/contribution-graph.html new file mode 100644 index 0000000..bc72454 --- /dev/null +++ b/layouts/partials/contribution-graph.html @@ -0,0 +1,17 @@ +{{- $cellSize := .cellSize | default 8 -}} +{{- $page := .page -}} +{{- $lang := $page.Lang | default "en" -}} +{{- $label := i18n "contrib_widget_label" -}} +{{- $heading := i18n "contrib_heading" -}} + +<div class="contrib-widget"> + <div + id="contrib-graph-{{ $cellSize }}" + class="contrib-container" + style="display:none" + data-cell-size="{{ $cellSize }}" + data-lang="{{ $lang }}" + data-aria-label="{{ $label }}" + ></div> +</div> + |
