Ticket #779: hyde-trailing-slashes-fix-1.patch

File hyde-trailing-slashes-fix-1.patch, 460 bytes (added by John Foerch, 12 years ago)

patch to page-by-path fixing trailing-slashes handling

  • hyde.scm

    old new  
    205205  (let* ((path (if (string=? "" (car path))
    206206                   path
    207207                   (cons "" path)))
     208         (path (cons (car path)
     209                     (remove string-null? (cdr path))))
    208210         (path (string-join path "/"))
    209211         (path (if (string=? "" path) "/" path))
    210212         (page (find (lambda (page)