diff options
Diffstat (limited to 'layouts/shortcodes')
-rw-r--r-- | layouts/shortcodes/pf_stat.html | 9 | ||||
-rw-r--r-- | layouts/shortcodes/recent-updates.html | 8 |
2 files changed, 17 insertions, 0 deletions
diff --git a/layouts/shortcodes/pf_stat.html b/layouts/shortcodes/pf_stat.html new file mode 100644 index 0000000..3b93756 --- /dev/null +++ b/layouts/shortcodes/pf_stat.html @@ -0,0 +1,9 @@ +<details> + <summary>Daily</summary> + <img src="https://michal.sapka.me/pfstat/pfstat.jpg"> + <img src="https://michal.sapka.me/pfstat/pfstat-packets.jpg"> + <img src="https://michal.sapka.me/pfstat/pfstat-states.jpg"> + <img src="https://michal.sapka.me/pfstat/pfstat-errors.jpg"> +</details> + + diff --git a/layouts/shortcodes/recent-updates.html b/layouts/shortcodes/recent-updates.html new file mode 100644 index 0000000..8b8437c --- /dev/null +++ b/layouts/shortcodes/recent-updates.html @@ -0,0 +1,8 @@ +{{ $category := .Get 0 }} +{{ $more_link := .Get 1 }} + +{{ range (where site.Pages ".Params.category" "==" $category) }} +aa + {{ partial "partials/article_list_item.html" . }} +{{ end }} +</article> |