Fix/re-introduce custom Jekyll tags for better glossary integration (#6163)

This commit is contained in:
Jessica Yao
2017-11-06 13:36:24 -08:00
committed by Zach Corleissen
parent 0abbfdc12e
commit 53cf7defd5
52 changed files with 546 additions and 225 deletions
+3 -3
View File
@@ -1,10 +1,10 @@
{% assign term_data = site.data.glossary.[include.term] %}
{% assign term_data = site.data.glossary.[include.term_id] %}
{% if include.length == "all" or include.length == "short" %}
{% if term_data.short-description %}
{{ term_data.short-description | markdownify }}
{{ term_data.short-description | liquify | markdownify }}
{% else %}
@@ -18,7 +18,7 @@
{% if term_data.long-description %}
{{ term_data.long-description | markdownify }}
{{ term_data.long-description | liquify | markdownify }}
{% else %}