From 7bfd1fd8580bebb0c1cd4aa0a5ff8458e52a3fe0 Mon Sep 17 00:00:00 2001 From: Paul Duncan Date: Thu, 27 Jan 2022 23:00:02 -0500 Subject: articles/nftables-examples.md: add webp, use pe-figure --- content/articles/nftables-examples.md | 18 +++++++++++------- .../nftables-examples/journalctl-drop-entries.webp | Bin 0 -> 10404 bytes 2 files changed, 11 insertions(+), 7 deletions(-) create mode 100644 static/files/articles/nftables-examples/journalctl-drop-entries.webp diff --git a/content/articles/nftables-examples.md b/content/articles/nftables-examples.md index 5ce1c78..10cae12 100644 --- a/content/articles/nftables-examples.md +++ b/content/articles/nftables-examples.md @@ -5,6 +5,16 @@ date: "2021-10-20" # show table of contents toc: true + +pics: + journalctl-drop-entries: + css: "image" + tip: "nftables DROP entries in journalctl log" + sources: + - "/files/articles/nftables-examples/journalctl-drop-entries.webp" + - src: "/files/articles/nftables-examples/journalctl-drop-entries.png" + width: 582 + height: 471 --- ## Overview @@ -377,13 +387,7 @@ table inet filter { Here's what the `DROP` rules look like in the `journalctl -f` output: -{{< figure - src="/files/articles/nftables-examples/journalctl-drop-entries.png" - class=image - width=582 - height=471 - caption="nftables DROP entries in journalctl log" ->}} +{{< pe-figure "journalctl-drop-entries" >}} ## Reset Script diff --git a/static/files/articles/nftables-examples/journalctl-drop-entries.webp b/static/files/articles/nftables-examples/journalctl-drop-entries.webp new file mode 100644 index 0000000..fcc603c Binary files /dev/null and b/static/files/articles/nftables-examples/journalctl-drop-entries.webp differ -- cgit v1.2.3