diff --git a/content/posts/vector3-battery.md b/content/posts/vector3-battery.md new file mode 100644 index 0000000..6ee1686 --- /dev/null +++ b/content/posts/vector3-battery.md @@ -0,0 +1,13 @@ +--- +title: Vector 3 Battery +date: 2022-08-25 +categories: ['Cycling'] +tags: ['cycling'] +--- + +{{% table %}} +| Date | Distance (km) | Time (h)| Lifetime (h) | +| ---- | ------------- | ------- | ------------ | +| 23.03.22 | 4073.5 | 163.4 | - | +| 25.08.22 | 7306.6 | 284.2 | 120.8 | +{{% /table %}} \ No newline at end of file diff --git a/layouts/shortcodes/table.html b/layouts/shortcodes/table.html new file mode 100644 index 0000000..c1991d9 --- /dev/null +++ b/layouts/shortcodes/table.html @@ -0,0 +1,6 @@ +{{ $htmlTable := .Inner | markdownify }} +{{ $class := .Get 0 }} +{{ $old := "