chore(fmt): add html formatting
This commit is contained in:
@@ -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 %}
|
||||
|
||||
Reference in New Issue
Block a user