Merge pull request #199 from shukryzablah/fix-sitemap-plugin
make sitemap subclass index, add to routing
This commit is contained in:
commit
c5b368aa8a
2 changed files with 3 additions and 2 deletions
|
@ -29,7 +29,8 @@
|
|||
(:month-index \"date/~~a\")
|
||||
(:numeric-index \"~~d\")
|
||||
(:feed \"~~a.xml\")
|
||||
(:tag-feed \"tag/~~a.xml\"))
|
||||
(:tag-feed \"tag/~~a.xml\")
|
||||
(:sitemap \"~~a.xml\"))
|
||||
:title \"Improved Means for Achieving Deteriorated Ends\" ;; a site title
|
||||
:theme \"hyde\" ;; to select one of the themes in \"coleslaw/themes/\"
|
||||
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
|
||||
(in-package :coleslaw-sitemap)
|
||||
|
||||
(defclass sitemap ()
|
||||
(defclass sitemap (index)
|
||||
((urls :initarg :urls :reader urls)))
|
||||
|
||||
(defmethod page-url ((object sitemap)) "sitemap.xml")
|
||||
|
|
Loading…
Add table
Reference in a new issue