Some code cleaning + clarifying (TODO: work on variables names)
[vchess.git] / views / variant.pug
index 8ca9db4..561663c 100644 (file)
@@ -1,14 +1,15 @@
 extends layout
 
 block css
-       link(rel="stylesheet", href="//fonts.googleapis.com/icon?family=Material+Icons")
-       link(rel="stylesheet", href="/stylesheets/variant.css")
+       link(rel="stylesheet" href="//fonts.googleapis.com/icon?family=Material+Icons")
+       link(rel="stylesheet" href="/stylesheets/variant.css")
 
 block content
        .container#variantPage
                .row
                        .col-sm-12.col-md-10.col-md-offset-1.col-lg-8.col-lg-offset-2
-                               h4.rulesTitle.text-center(v-on:click="displayRules=!displayRules") #{variant} Rules
+                               h4.rulesTitle.text-center(v-on:click="displayRules=!displayRules")
+                                       | #{variant} Rules
                                my-rules(v-show="displayRules")
                        .col-sm-12.col-md-10.col-md-offset-1.col-lg-8.col-lg-offset-2
                                my-game