]> granicus.if.org Git - jq/commitdiff
Move footer content into template
authorDavid Tolnay <dtolnay@gmail.com>
Sat, 15 Aug 2015 20:03:30 +0000 (13:03 -0700)
committerDavid Tolnay <dtolnay@gmail.com>
Sat, 15 Aug 2015 20:03:33 +0000 (13:03 -0700)
This caused problems because liquid >=3.0.0 does not allow a
variable and a template with the same name. Here we had a
variable and a template both called footer.

docs/site.yml
docs/templates/shared/_footer.liquid

index 92cdbe4c36813353d986f0c2f468ed37488de999..cc050794c715a95a956d4ce114a935a2d65150d8 100644 (file)
@@ -7,12 +7,3 @@
 jq_version: "1.4-2-g15c4a7f-dirty"
 
 root: '/jq'
-footer: |
-
-  This website is made with [Bonsai](http://www.tinytree.info) and
-  [Bootstrap](http://getbootstrap.com), themed
-  with [Bootswatch](https://bootswatch.com).
-
-  jq is licensed under the MIT license (code) and the
-  [CC-BY-3.0](https://creativecommons.org/licenses/by/3.0/) license
-  (docs).
index e2814a80924b911f7dd14a0d4a82fb32b636f711..9c5c9fd11549251dc790acbf084fa2da1240585b 100644 (file)
@@ -1,6 +1,7 @@
     <footer>
       <div class="container">
-        {{ footer | markdownify }}
+        <p>This website is made with <a href="http://www.tinytree.info">Bonsai</a> and <a href="http://getbootstrap.com">Bootstrap</a>, themed with <a href="https://bootswatch.com">Bootswatch</a>.</p>
+        <p>jq is licensed under the MIT license (code) and the <a href="https://creativecommons.org/licenses/by/3.0/">CC-BY-3.0</a> license (docs).</p>
       </div>
     </footer>