1
0
mirror of https://github.com/stedolan/jq.git synced 2024-05-11 05:55:39 +00:00

Move footer content into template

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.
This commit is contained in:
David Tolnay
2015-08-15 13:03:30 -07:00
parent 8f55d6d4ab
commit 6d2f917a3a
2 changed files with 2 additions and 10 deletions

View 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).

View 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>