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>
14 lines
404 B
HTML
14 lines
404 B
HTML
<div class="section">
|
|
<div class="section-container container">
|
|
<h2>{{ section.title }}</h2>
|
|
{% if section.content %}
|
|
<div class="section-content">{{ section.content | safe }}</div>
|
|
{% endif %} {% if section.cards %}
|
|
<div class="section-cards">
|
|
{% for card in section.cards %} {% include 'components/card.html' %} {%
|
|
endfor %}
|
|
</div>
|
|
{% endif %}
|
|
</div>
|
|
</div>
|