PAGE-URL should always return a pathname.

This commit is contained in:
Brit Butler 2014-05-19 15:27:51 -04:00
parent 2397b70abb
commit 235b727017

View file

@ -37,7 +37,7 @@
(defmethod page-url :around ((document t))
(let ((result (call-next-method)))
(if (pathname-type result)
result
(make-pathname :defaults result)
(make-pathname :type "html" :defaults result))))
(defgeneric render (document &key &allow-other-keys)