add documentation

This commit is contained in:
Do Nhat Minh 2013-04-26 22:26:41 +08:00
parent a3ed5b7719
commit edcd1022ab

View file

@ -5,7 +5,7 @@
(local-time:format-rfc1123-timestring nil (local-time:now)))
(defun render-sitemap ()
"Render sitemap.xml under document root"
"Render sitemap.xml and write robots.txt under document root"
(let* ((template (theme-fn :sitemap "feeds"))
(urls (append '("" "robots.txt") ; empty string is for root url
(mapcar #'page-url (find-all 'post))