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)
(p "clone url:" ,CLONE-URL "/" ,repository-name)
(nav
,(when readme-file
`(a (@ href ,relative-root "index.html") "about"))
,(if readme-file
`(a (@ href ,relative-root "index.html") "about") "")
(a (@ href ,relative-root "files.html") "files")
,(when license-file
`(a (@ href ,relative-root ,license-file ".html") "license"))
,(when issues-present?
`(a (@ href ,relative-root "ISSUES.html") "issues"))
,(if license-file
`(a (@ href ,relative-root ,license-file ".html") "license") "")
,(if issues-present?
`(a (@ href ,relative-root "ISSUES.html") "issues") "")
(a (@ href ,relative-root "commits.html") "commits")
(a (@ href ,relative-root "contributors.html") "contributors")))
(hr)