add documentation
This commit is contained in:
parent
a3ed5b7719
commit
edcd1022ab
1 changed files with 1 additions and 1 deletions
|
@ -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))
|
||||
|
|
Loading…
Add table
Reference in a new issue