Branded UI Fixed
This commit is contained in:
47
bd-national-template/layouts/layout-canonical.html
Normal file
47
bd-national-template/layouts/layout-canonical.html
Normal file
@@ -0,0 +1,47 @@
|
||||
---
|
||||
---
|
||||
{% include fragment-pagebegin.html %}
|
||||
<div 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='content' %}
|
||||
<a name="root"> </a>
|
||||
|
||||
<h2 id="root">{{[type]}}: {{site.data.pages[page.path].title | escape_once}}
|
||||
{% if site.data.resources[resource_].experimental == true %}(Experimental){% endif %}
|
||||
</h2>
|
||||
|
||||
{% include fragment-resourceTable.html %}
|
||||
|
||||
{%if site.data.resources[resource_].description %}
|
||||
<p>
|
||||
{{site.data.resources[resource_].description|markdownify}}
|
||||
</p>
|
||||
{% endif %}
|
||||
{%if site.data.resources[resource_].purpose %}
|
||||
<p>
|
||||
{{site.data.resources[resource_].purpose|markdownify}}
|
||||
</p>
|
||||
{% endif %}
|
||||
<!-- insert intro if present -->
|
||||
{% include fragment-intro.html type='{{[type]}}' id='{{[id]}}' %}
|
||||
|
||||
<!-- <p>
|
||||
Formats: <a href="{{[type]}}-{{[id]}}.xml.html">XML</a>, <a href="{{[type]}}-{{[id]}}.json.html">JSON</a>, <a href="{{[type]}}-{{[id]}}.ttl.html">Turtle</a>
|
||||
</p>-->
|
||||
{% unless example %}
|
||||
{% if '{{[type]}}' == 'CapabilityStatement' %}
|
||||
<p>
|
||||
<a href="{{[id]}}.openapi.json" no-download="true">Raw OpenAPI-Swagger Definition file</a> | <a href="{{[id]}}.openapi.json" download>Download</a>
|
||||
</p>
|
||||
{% endif %}
|
||||
{% endunless %}
|
||||
|
||||
{% include {{[type]}}-{{[id]}}-html.xhtml %}
|
||||
|
||||
<!-- insert notes if present -->
|
||||
{% include fragment-notes.html type='{{[type]}}' id='{{[id]}}' %}
|
||||
|
||||
{%include {{[type]}}-{{[id]}}-history.xhtml%}
|
||||
|
||||
</div>
|
||||
{% include fragment-pageend.html %}
|
||||
Reference in New Issue
Block a user