From 77994d5ebb1f0d7e2ed18a96626db48fe3bfe738 Mon Sep 17 00:00:00 2001 From: Dominic Reich Date: Sun, 28 Apr 2024 11:14:49 +0200 Subject: [PATCH] adds shortcode for manual pages links --- layouts/shortcodes/man.html | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 layouts/shortcodes/man.html diff --git a/layouts/shortcodes/man.html b/layouts/shortcodes/man.html new file mode 100644 index 0000000..cfd0700 --- /dev/null +++ b/layouts/shortcodes/man.html @@ -0,0 +1,5 @@ +{{- $page := .Get 0 | default "man" }} +{{- $section := .Get 1 | default "1" }} + +{{ $page }}({{ $section }}) +