feat: adjust some styles

This commit is contained in:
st1020 2023-10-24 21:08:23 +08:00
parent 8bc00a1957
commit 17c99f18fc
2 changed files with 3 additions and 4 deletions

View file

@ -6,7 +6,7 @@
{% set section = get_section(path=page.extra.section) %}<!---->
{% for year, posts in section.pages | group_by(attribute="year") %}
<h2>{{ year }}</h2>
<h2>{{ year }} <sup class="opacity-60">{{ posts | length }}</sup></h2>
<div class="not-prose pl-6">
<ul>

View file

@ -7,9 +7,8 @@
{% for term in terms %}
<div class="block-bg flex h-full flex-col rounded-lg px-5 pb-2 md:min-h-[18rem]">
<h3 class="my-4 text-xl font-bold text-black dark:text-white">
<a class="primary-link" href="{{ term.permalink }}">
#{{ term.name }} - {{ term.page_count }}
</a>
<a class="primary-link" href="{{ term.permalink }}"> #{{ term.name }} </a>
<sup class="opacity-60">{{ term.page_count }}</sup>
</h3>
{%for page in term.pages | slice(end=5) %}