Files
BD-Core-FHIR-IG/input/pagecontent/history.xml
Dr. B. M. Riazul Islam 4d24e3f30c
All checks were successful
FHIR IG CI/CD Pipeline with Version Persistence / build-ig (push) Successful in 5m38s
FHIR IG CI/CD Pipeline with Version Persistence / deploy (push) Successful in 8s
modified history template
2026-03-07 05:40:28 +06:00

39 lines
1.2 KiB
XML

<div xmlns="http://www.w3.org/1999/xhtml">
<a name="intro"> </a>
<h3>Version History</h3>
<table class="grid">
<thead>
<tr>
<th>Version</th>
<th>Date</th>
<th>Status</th>
<th>Description</th>
</tr>
</thead>
<tbody>
{% comment %} Try Publisher's internal info first, then fall back to the _data file {% endcomment %}
{% assign versions = site.data.info.versions %}
{% if versions == nil %}
{% assign versions = site.data['package-list'].list %}
{% endif %}
{% for ver in versions %}
{% if ver.version != 'current' and ver.id != 'current' %}
<tr>
<td><a href="{{ ver.path | default: ver.url }}"><b>{{ ver.version | default: ver.id }}</b></a></td>
<td>{{ ver.date }}</td>
<td><span class="badge">{{ ver.status }}</span></td>
<td>{{ ver.desc }}</td>
</tr>
{% endif %}
{% endfor %}
</tbody>
</table>
{% if versions == nil %}
<p style="color: #856404; background-color: #fff3cd; padding: 10px; border: 1px solid #ffeeba;">
<strong>Notice:</strong> Version data could not be resolved. Ensure <code>input/_data/package-list.json</code> exists.
</p>
{% endif %}
</div>