From c847bfe08256de8baa9d005165b5831db1bbb08f Mon Sep 17 00:00:00 2001 From: Martin Kagamino Lehoux Date: Tue, 30 Sep 2025 07:32:46 +0200 Subject: Added charts & python snippets --- layouts/shortcodes/chart.html | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 layouts/shortcodes/chart.html (limited to 'layouts') diff --git a/layouts/shortcodes/chart.html b/layouts/shortcodes/chart.html new file mode 100644 index 0000000..69689cd --- /dev/null +++ b/layouts/shortcodes/chart.html @@ -0,0 +1,34 @@ +{{- $id := printf "chart-%d" (now.UnixNano) -}} +{{- $type := .Get "type" | default "bar" -}} +{{- $data := .Get "data" -}} +{{- $options := .Get "options" | default "{}" -}} + +
+ +
+ + + + + -- cgit v1.3