Fixed a bug that broke links to files if a readme wasn't present

There was a bug that caused a double "html/html" in front of the link
URLs for each file listed in the "Files" view.

This PR fixes this. It's an ugly fix, because I just replaced "html"
with "" as the function argument, but it works? haha. Feel free to do
this the proper way, if such a way exists!
This commit is contained in:
m455 2023-02-01 23:26:10 -05:00
parent 23487309c8
commit 0a9518c2e4

View file

@ -367,7 +367,7 @@
(if-let (readme-file
(alist-ref 'readme_file template-alist))
(source->sxml readme-file)
(filelist->sxml source-files-list "html"))
(filelist->sxml source-files-list ""))
;; TODO: do we need the full set of template variables defined here?
;; if so maybe this and the set above should be lifted out somewhere
`((relative_root . "html/")))