diff --git a/cli/cli.lisp b/cli/cli.lisp index ab31512..e1e4216 100644 --- a/cli/cli.lisp +++ b/cli/cli.lisp @@ -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/\" diff --git a/plugins/sitemap.lisp b/plugins/sitemap.lisp index ea4a0ea..a869c89 100644 --- a/plugins/sitemap.lisp +++ b/plugins/sitemap.lisp @@ -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")