]> gitweb.factorcode.org Git - factor.git/commitdiff
html.templates: use unless* instead of or.
authorJohn Benediktsson <mrjbq7@gmail.com>
Fri, 20 Nov 2015 17:15:19 +0000 (09:15 -0800)
committerJohn Benediktsson <mrjbq7@gmail.com>
Fri, 20 Nov 2015 17:15:19 +0000 (09:15 -0800)
basis/html/templates/templates.factor

index fd48d81ecdfa12aba967e66fd73ce5b71c3bd41e..41872054954eaa14362234123685395ba64a9b82 100644 (file)
@@ -89,8 +89,8 @@ M: f call-template* drop call-next-template ;
 
 : with-boilerplate ( child master -- )
     [
-        title [ <box> or ] change
-        style [ SBUF" " clone or ] change
+        title [ [ <box> ] unless* ] change
+        style [ [ SBUF" " clone ] unless* ] change
         atom-feeds [ V{ } like ] change
 
         [