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:
parent
23487309c8
commit
0a9518c2e4
1 changed files with 1 additions and 1 deletions
2
main.scm
2
main.scm
|
@ -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/")))
|
||||
|
|
Loading…
Reference in a new issue