contrib/html: link the logo with relative path

This commit is contained in:
Christian Hesse 2025-10-29 14:55:00 +01:00
parent 843f6b41f6
commit dc879b6798
2 changed files with 2 additions and 1 deletions

View file

@ -7,6 +7,7 @@ RELTO="$(dirname "${1}")"
sed \
-e "s|__TITLE__|$(head -n1 "${1}")|" \
-e "s|__STYLE__|$(realpath --relative-to="${RELTO}" general/style.css)|" \
-e "s|__LOGO__|$(realpath --relative-to="${RELTO}" logo.png)|" \
< "${0}.d/head.html"
markdown -f toc,idanchor "${1}" | sed \