Change glossary snippet length options

This commit is contained in:
Andrew Chen
2017-10-30 11:58:30 -07:00
parent 4c4d56bfc0
commit b4630dac1d
3 changed files with 7 additions and 3 deletions
+5 -1
View File
@@ -1,5 +1,7 @@
{% assign term_data = site.data.glossary.[include.term] %}
{% if include.length == "all" or include.length == "short" %}
{% if term_data.short-description %}
{{ term_data.short-description | markdownify }}
@@ -10,7 +12,9 @@
{% endif %}
{% if include.length == "long" %}
{% endif %}
{% if include.length == "all" or include.length == "long" %}
{% if term_data.long-description %}