Kaynağa Gözat

Merge pull request #99 from mawis/xhtml_blogging

Supporting other file extensions for the index page as well.
Brit Butler 9 yıl önce
ebeveyn
işleme
8b4aac2686
1 değiştirilmiş dosya ile 2 ekleme ve 1 silme
  1. 2 1
      src/coleslaw.lisp

+ 2 - 1
src/coleslaw.lisp

@@ -36,7 +36,8 @@ in REPO-DIR. Optionally, OLDREV is the revision prior to the last push."
36 36
       (publish ctype))
37 37
     (do-subclasses (itype index)
38 38
       (publish itype))
39
-    (update-symlink "index.html" "1.html")))
39
+    (update-symlink (format nil "index.~A" (page-ext *config*))
40
+                    (format nil "1.~A" (page-ext *config*)))))
40 41
 
41 42
 (defgeneric deploy (staging)
42 43
   (:documentation "Deploy the STAGING build to the directory specified in the config.")