fix some visual issues

This commit is contained in:
thisLight 2022-04-30 00:34:46 +08:00
parent b4eb77763c
commit 402bc6dc41
5 changed files with 589 additions and 3 deletions

View file

@ -32,7 +32,7 @@
{% endif %}
</span>
</a>
<p class="entry">{{ post.excerpt }}</p>
<div class="entry">{{ post.excerpt }}</div>
{{ PostTags(post) }}
</div>
{% endif %}

View file

@ -27,7 +27,7 @@
{% if page.photos && page.photos.length > 0%}
{{Gallery(page.photos)}}
{% endif %}
<div class="entry">
<div class="entry flow-text">
{% autoescape false %}{{ page.content }}{% endautoescape %}
</div>
</div>

View file

@ -3,6 +3,8 @@
{% import "includes/paginator.njk" as P with context%}
{% import "includes/postlist.njk" as PostList with context%}
{% set theme_data = site.data.theme %}
{% block body %}
<h2 style="margin-left: 1rem"><i class="mdi mdi-tag" style="font-size: 2rem;"></i>::{{page.tag}}</h2>
{{ PostList.PostList(page.posts.toArray()) }}
@ -11,3 +13,9 @@
{{ P.Paginiation() }}
</div>
{% endblock %}
{%block add_head%}
{% if theme_data.topic_rss.tag %}
<link rel="alternate" type="application/atom+xml" title="{{page.title}}/{{page.tag}}" href="{{theme_data.topic_rss.tag.prefix}}/{{page.tag | lower}}/{{theme_data.topic_rss.tag.atom_suffix}}" />
{%endif%}
{%endblock%}