don't output #<unspecified> to html

quick band-aid for this bug... better fix will be to modify the
sxml->html transformation rules... thanks for the report m455!!
This commit is contained in:
pho4cexa 2022-12-12 08:19:53 -08:00 committed by m455
parent 920707f276
commit c0fcd0bebc

View file

@ -124,13 +124,13 @@
(h2 ,repository-name) (h2 ,repository-name)
(p "clone url:" ,CLONE-URL "/" ,repository-name) (p "clone url:" ,CLONE-URL "/" ,repository-name)
(nav (nav
,(when readme-file ,(if readme-file
`(a (@ href ,relative-root "index.html") "about")) `(a (@ href ,relative-root "index.html") "about") "")
(a (@ href ,relative-root "files.html") "files") (a (@ href ,relative-root "files.html") "files")
,(when license-file ,(if license-file
`(a (@ href ,relative-root ,license-file ".html") "license")) `(a (@ href ,relative-root ,license-file ".html") "license") "")
,(when issues-present? ,(if issues-present?
`(a (@ href ,relative-root "ISSUES.html") "issues")) `(a (@ href ,relative-root "ISSUES.html") "issues") "")
(a (@ href ,relative-root "commits.html") "commits") (a (@ href ,relative-root "commits.html") "commits")
(a (@ href ,relative-root "contributors.html") "contributors"))) (a (@ href ,relative-root "contributors.html") "contributors")))
(hr) (hr)