adds shortcode for manual pages links

main
Dominic Reich 7 months ago
parent 7abf1c0696
commit 77994d5ebb
Signed by: dominic
GPG Key ID: BC9D6AE1A3BE169A

@ -0,0 +1,5 @@
{{- $page := .Get 0 | default "man" }}
{{- $section := .Get 1 | default "1" }}
<a href="https://www.man.page/{{ $section }}/{{ $page }}" target="_blank" rel="noreferrer">{{ $page }}({{ $section }})</a>
Loading…
Cancel
Save