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,20 +1,18 @@
{% extends "base.html" %}
{% block content %}
{% extends "base.html" %} {% block content %}
<h1>{{ section.title }}</h1>
<ul class="post-list">
{% for item in items %}
<li>
<a href="./{{ item.slug }}.html">
<span class="title">{{ item.frontmatter.title }}</span>
{% if item.frontmatter.date %}
<time class="date">{{ item.frontmatter.date }}</time>
{% endif %}
</a>
{% if item.frontmatter.description %}
<p class="description">{{ item.frontmatter.description }}</p>
{% endif %}
</li>
{% endfor %}
{% for item in items %}
<li>
<a href="./{{ item.slug }}.html">
<span class="title">{{ item.frontmatter.title }}</span>
{% if item.frontmatter.date %}
<time class="date">{{ item.frontmatter.date }}</time>
{% endif %}
</a>
{% if item.frontmatter.description %}
<p class="description">{{ item.frontmatter.description }}</p>
{% endif %}
</li>
{% endfor %}
</ul>
{% endblock content %}
{% endblock content %}

View File

@@ -1,15 +1,13 @@
{% extends "base.html" %}
{% block content %}
{% extends "base.html" %} {% block content %}
<h1>{{ section.title }}</h1>
<ul class="item-list">
{% for item in items %}
<li>
<a href="./{{ item.slug }}.html">{{ item.frontmatter.title }}</a>
{% if item.frontmatter.description %}
<p>{{ item.frontmatter.description }}</p>
{% endif %}
</li>
{% endfor %}
{% for item in items %}
<li>
<a href="./{{ item.slug }}.html">{{ item.frontmatter.title }}</a>
{% if item.frontmatter.description %}
<p>{{ item.frontmatter.description }}</p>
{% endif %}
</li>
{% endfor %}
</ul>
{% endblock content %}
{% endblock content %}

View File

@@ -1,24 +1,21 @@
{% extends "base.html" %}
{% block content %}
{% extends "base.html" %} {% block content %}
<h1>{{ section.title }}</h1>
<ul class="project-cards">
{% for item in items %}
<li class="card">
{% if item.frontmatter.link_to %}
<a href="{{ item.frontmatter.link_to }}" target="_blank" rel="noopener">
<h2>{{ item.frontmatter.title }}</h2>
{% if item.frontmatter.description %}
<p>{{ item.frontmatter.description }}</p>
{% endif %}
</a>
{% else %}
<h2>{{ item.frontmatter.title }}</h2>
{% if item.frontmatter.description %}
<p>{{ item.frontmatter.description }}</p>
{% endif %}
{% endif %}
</li>
{% endfor %}
{% for item in items %}
<li class="card">
{% if item.frontmatter.link_to %}
<a href="{{ item.frontmatter.link_to }}" target="_blank" rel="noopener">
<h2>{{ item.frontmatter.title }}</h2>
{% if item.frontmatter.description %}
<p>{{ item.frontmatter.description }}</p>
{% endif %}
</a>
{% else %}
<h2>{{ item.frontmatter.title }}</h2>
{% if item.frontmatter.description %}
<p>{{ item.frontmatter.description }}</p>
{% endif %} {% endif %}
</li>
{% endfor %}
</ul>
{% endblock content %}
{% endblock content %}