Fix/re-introduce custom Jekyll tags for better glossary integration (#6163)
This commit is contained in:
committed by
Zach Corleissen
parent
0abbfdc12e
commit
53cf7defd5
@@ -8,6 +8,7 @@
|
||||
<link rel="stylesheet" type="text/css" href="/css/jquery-ui.min.css">
|
||||
<link rel="stylesheet" type="text/css" href="/css/sweetalert.css">
|
||||
<link rel="stylesheet" type="text/css" href="/css/callouts.css">
|
||||
<link rel="stylesheet" type="text/css" href="/css/custom-jekyll/tags.css">
|
||||
{% if page.deprecated %}<link rel="stylesheet" type="text/css" href="/css/deprecation-warning.css">{% endif %}
|
||||
{% if page.class == "gridPage" %}<link rel="stylesheet" type="text/css" href="/css/gridpage.css">{% endif %}
|
||||
{% if page.css %}<link rel="stylesheet" type="text/css" href="{{ page.css }}"><!-- custom css added -->{% else %}<!-- no custom css detected -->{% endif %}
|
||||
@@ -23,5 +24,6 @@
|
||||
<script src="/js/script.js"></script>
|
||||
<script src="/js/sweetalert.min.js"></script>
|
||||
<script src="/js/bootstrap.min.js"></script>
|
||||
<script src="/js/custom-jekyll/tags.js"></script>
|
||||
{% seo %}
|
||||
</head>
|
||||
|
||||
@@ -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 %}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user