chore(fmt): add html formatting

This commit is contained in:
Timothy DeHerrera
2026-01-31 15:13:24 -07:00
parent e200e94583
commit 0d2c460f52
9 changed files with 101 additions and 125 deletions

View File

@@ -1,13 +1,9 @@
{% extends "base.html" %}
{% block content %}
{% extends "base.html" %} {% block content %}
<article>
<h1>{{ page.title }}</h1>
{% if page.description %}
<p class="description">{{ page.description }}</p>
{% endif %}
<section class="content">
{{ content | safe }}
</section>
<h1>{{ page.title }}</h1>
{% if page.description %}
<p class="description">{{ page.description }}</p>
{% endif %}
<section class="content">{{ content | safe }}</section>
</article>
{% endblock content %}
{% endblock content %}

View File

@@ -1,25 +1,19 @@
{% extends "base.html" %}
{% block content %}
{% extends "base.html" %} {% block content %}
<article class="post">
<header>
<h1>{{ page.title }}</h1>
{% if page.date %}
<time class="date">{{ page.date }}</time>
{% endif %}
{% if page.description %}
<p class="description">{{ page.description }}</p>
{% endif %}
{% if page.tags %}
<ul class="tags">
{% for tag in page.tags %}
<li><a href="{{ prefix }}/tags/{{ tag }}.html">{{ tag }}</a></li>
{% endfor %}
</ul>
{% endif %}
</header>
<section class="content">
{{ content | safe }}
</section>
<header>
<h1>{{ page.title }}</h1>
{% if page.date %}
<time class="date">{{ page.date }}</time>
{% endif %} {% if page.description %}
<p class="description">{{ page.description }}</p>
{% endif %} {% if page.tags %}
<ul class="tags">
{% for tag in page.tags %}
<li><a href="{{ prefix }}/tags/{{ tag }}.html">{{ tag }}</a></li>
{% endfor %}
</ul>
{% endif %}
</header>
<section class="content">{{ content | safe }}</section>
</article>
{% endblock content %}
{% endblock content %}