mirror of https://github.com/docker/docs.git
js/glossary.js: cleanup whitespace and unneeded front-matter
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
parent
3cdfb582e7
commit
f17ebae568
|
@ -1,11 +1,6 @@
|
|||
---
|
||||
layout: null
|
||||
---
|
||||
var glossary = [
|
||||
{% for entry in site.data.glossary %}
|
||||
{
|
||||
"term": {{ entry[0] | jsonify }},
|
||||
"def": {{ entry[1] | markdownify | replace:'href="#','href="/glossary/?term=' | jsonify }}
|
||||
}{% unless forloop.last %},{% endunless %}
|
||||
{% endfor %}
|
||||
{%- for entry in site.data.glossary -%}
|
||||
{"term": {{ entry[0] | jsonify }}, "def": {{ entry[1] | markdownify | replace:'href="#','href="/glossary/?term=' | jsonify }}}
|
||||
{%- unless forloop.last -%},{%- endunless -%}
|
||||
{%- endfor -%}
|
||||
]
|
||||
|
|
Loading…
Reference in New Issue