Branded UI Fixed
This commit is contained in:
36
bd-national-template/layouts/layout-instance-format.html
Normal file
36
bd-national-template/layouts/layout-instance-format.html
Normal file
@@ -0,0 +1,36 @@
|
||||
---
|
||||
---
|
||||
|
||||
{% if '{{[fmt]}}' == 'xml' %}
|
||||
{% assign section = '7' %}
|
||||
{% elsif '{{[fmt]}}' == 'json' %}
|
||||
{% assign section = '8' %}
|
||||
{% else %}
|
||||
{% assign section = '9' %}
|
||||
{% endif %}
|
||||
|
||||
{% include fragment-pagebegin.html %}
|
||||
<div style="counter-reset: section {{section}}" class="col-12">
|
||||
<p id="publish-box">Bangladesh Core FHIR Implementation Guide - Published by Ministry of Health and Family Welfare (v0.2.0). See the <a href="https://fhir.dghs.gov.bd/core/history.html">Directory of published versions</a></p>
|
||||
{% include fragment-base-navtabs.html type='{{[type]}}' id='{{[id]}}' active='{{[fmt]}}' %}
|
||||
|
||||
<a name="root"> </a>
|
||||
{% if site.data.artifacts[page.path].example %}
|
||||
{% assign example = 'Example ' %}
|
||||
{% endif %}
|
||||
{% assign prefix = site.data.artifacts[page.path].type %}
|
||||
<h2 id="root">{{example}}{{prefix}}: {{site.data.pages[page.path].title | escape_once}}</h2>
|
||||
{% include fragment-simpletable.html %}
|
||||
|
||||
<p><a href="{{[type]}}-{{[id]}}.{{[fmt]}}" no-download="true">Raw {{[fmt]}}</a> | <a href="{{[type]}}-{{[id]}}.{{[fmt]}}" download>Download</a></p>
|
||||
|
||||
<!-- insert intro if present -->
|
||||
{% include fragment-intro.html type='{{[type]}}' id='{{[id]}}' %}
|
||||
|
||||
{% include {{[type]}}-{{[name]}}.xhtml %}
|
||||
|
||||
<!-- insert notes if present -->
|
||||
{% include fragment-notes.html type='{{[type]}}' id='{{[id]}}' %}
|
||||
|
||||
</div>
|
||||
{% include fragment-pageend.html %}
|
||||
Reference in New Issue
Block a user