diff options
Diffstat (limited to 'layouts/shortcodes/site_stat.html')
-rw-r--r-- | layouts/shortcodes/site_stat.html | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/layouts/shortcodes/site_stat.html b/layouts/shortcodes/site_stat.html new file mode 100644 index 00000000..35f4f3f0 --- /dev/null +++ b/layouts/shortcodes/site_stat.html @@ -0,0 +1,9 @@ +{{- $graph := .Get 0 }} +{{- $alt := .Get 1 }} + +<figure> + <figcaption>{{$alt}}</figcaption> + <a href="https://michal.sapka.me/site-stats/{{$graph}}" target="_blank"> + <img width="980" height="300" loading="lazy" alt="{{$alt}}" src="https://michal.sapka.me/site-stats/{{$graph}}"> + </a> +</figure> |