fix online manpage links

This commit is contained in:
Dominic Reich 2025-01-12 17:37:18 +01:00
parent 6367ceed0a
commit b94d4fb97a
Signed by: dominic
GPG key ID: 0B5787DB23049C45

View file

@ -1,5 +1,4 @@
{{- $page := .Get 0 | default "man" }} {{- $page := .Get 0 | default "man" }}
{{- $section := .Get 1 | default "1" }} {{- $section := .Get 1 | default "1" }}
<a href="https://www.man.page/{{ $section }}/{{ $page }}" target="_blank" rel="noreferrer">{{ $page }}({{ $section }})</a> <a href="https://www.man7.org/linux/man-pages/man{{ $section }}/{{ $page }}.{{ $section }}.html" target="_blank" rel="noreferrer">{{ $page }}({{ $section }})</a>