]> sipb.mit.edu Git - ikiwiki.git/commitdiff
force rebuild for theme change
authorJoey Hess <joey@kitenet.net>
Wed, 16 Jun 2010 19:44:21 +0000 (15:44 -0400)
committerJoey Hess <joey@kitenet.net>
Wed, 16 Jun 2010 19:44:21 +0000 (15:44 -0400)
For now, a rebuild is the only way to ensure the changed theme is used.
Ikiwiki normally will not realize style.css has changed, since themes
tend to have the same timestamp for the file.

IkiWiki/Plugin/theme.pm

index 5e6e4b0926945b9fa3b4ae0df238c8f3e79509c2..ba6966381d6da42e646b9fe785b9e0e86b4f50a2 100644 (file)
@@ -22,7 +22,7 @@ sub getsetup () {
                        example => "actiontabs",
                        description => "name of theme to enable",
                        safe => 1,
                        example => "actiontabs",
                        description => "name of theme to enable",
                        safe => 1,
-                       rebuild => 0,
+                       rebuild => 1,
                },
 }
 
                },
 }