9f0a216c5e
- Created index.html template for the homepage with service cards and partner logos. - Added page_from_md.html template for rendering pages from markdown. - Developed services.html template detailing various services offered. - Implemented tests for link handling in markdown, ensuring external links open in new tabs and internal links function correctly. - Enhanced markdown parser tests to validate heading extraction, content rendering, and link safety. - Introduced utility tests for template rendering, HTML minification, and JavaScript minification. Co-authored-by: Copilot <copilot@github.com>
18 lines
566 B
HTML
18 lines
566 B
HTML
<div class="section-card">
|
|
<h3 class="section-card-title">{{ card.title }}</h3>
|
|
{% if card.content %}
|
|
<div class="section-content">{{ card.content | safe }}</div>
|
|
{% endif %} {% if card.details %}
|
|
<div class="mt-4 space-y-3">
|
|
{% for detail in card.details %}
|
|
<div class="section-card-detail">
|
|
<h4 class="section-card-detail-title">{{ detail.title }}</h4>
|
|
{% if detail.content %}
|
|
<div class="section-card-detail-content">{{ detail.content | safe }}</div>
|
|
{% endif %}
|
|
</div>
|
|
{% endfor %}
|
|
</div>
|
|
{% endif %}
|
|
</div>
|