Change glossary snippet length options
parent
4c4d56bfc0
commit
b4630dac1d
|
@ -1,5 +1,7 @@
|
||||||
{% assign term_data = site.data.glossary.[include.term] %}
|
{% assign term_data = site.data.glossary.[include.term] %}
|
||||||
|
|
||||||
|
{% if include.length == "all" or include.length == "short" %}
|
||||||
|
|
||||||
{% if term_data.short-description %}
|
{% if term_data.short-description %}
|
||||||
|
|
||||||
{{ term_data.short-description | markdownify }}
|
{{ term_data.short-description | markdownify }}
|
||||||
|
@ -10,7 +12,9 @@
|
||||||
|
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% if include.length == "long" %}
|
{% endif %}
|
||||||
|
|
||||||
|
{% if include.length == "all" or include.length == "long" %}
|
||||||
|
|
||||||
{% if term_data.long-description %}
|
{% if term_data.long-description %}
|
||||||
|
|
||||||
|
|
|
@ -5,7 +5,7 @@ title: Ingress
|
||||||
---
|
---
|
||||||
|
|
||||||
{% capture overview %}
|
{% capture overview %}
|
||||||
{% include templates/glossary/snippet.md term="ingress" length="long" %}
|
{% include templates/glossary/snippet.md term="ingress" length="all" %}
|
||||||
{% endcapture %}
|
{% endcapture %}
|
||||||
|
|
||||||
{% capture body %}
|
{% capture body %}
|
||||||
|
|
|
@ -13,7 +13,7 @@ title: StatefulSets
|
||||||
**StatefulSet is the workload API object used to manage stateful applications.
|
**StatefulSet is the workload API object used to manage stateful applications.
|
||||||
StatefulSets are beta in 1.8.**
|
StatefulSets are beta in 1.8.**
|
||||||
|
|
||||||
{% include templates/glossary/snippet.md term="statefulset" length="long" %}
|
{% include templates/glossary/snippet.md term="statefulset" length="all" %}
|
||||||
{% endcapture %}
|
{% endcapture %}
|
||||||
|
|
||||||
{% capture body %}
|
{% capture body %}
|
||||||
|
|
Loading…
Reference in New Issue