Branded UI Fixed
This commit is contained in:
15
bd-national-template/includes/fragment-intro.html
Normal file
15
bd-national-template/includes/fragment-intro.html
Normal file
@@ -0,0 +1,15 @@
|
||||
{% assign intro = site.data.pages[page.path].intro %}
|
||||
{% if intro != null %}
|
||||
{% if site.data.pages[page.path].intro-type == 'xml' %}
|
||||
<div style="display:inline-block">
|
||||
{% include {{intro}} type=include.type id=include.id %}
|
||||
</div>
|
||||
{% else %}
|
||||
{% capture intro-content %}
|
||||
{% include {{intro}} type=include.type id=include.id %}
|
||||
{% endcapture %}
|
||||
<div style="display:inline-block" markdown="1">
|
||||
{{ intro-content | markdownify }}
|
||||
</div>
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
Reference in New Issue
Block a user