mirror of
https://github.com/SebastianStork/kita.git
synced 2026-01-21 14:31:35 +01:00
feat: adjust some styles
This commit is contained in:
parent
8bc00a1957
commit
17c99f18fc
2 changed files with 3 additions and 4 deletions
|
|
@ -6,7 +6,7 @@
|
||||||
{% set section = get_section(path=page.extra.section) %}<!---->
|
{% set section = get_section(path=page.extra.section) %}<!---->
|
||||||
|
|
||||||
{% for year, posts in section.pages | group_by(attribute="year") %}
|
{% 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">
|
<div class="not-prose pl-6">
|
||||||
<ul>
|
<ul>
|
||||||
|
|
|
||||||
|
|
@ -7,9 +7,8 @@
|
||||||
{% for term in terms %}
|
{% for term in terms %}
|
||||||
<div class="block-bg flex h-full flex-col rounded-lg px-5 pb-2 md:min-h-[18rem]">
|
<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">
|
<h3 class="my-4 text-xl font-bold text-black dark:text-white">
|
||||||
<a class="primary-link" href="{{ term.permalink }}">
|
<a class="primary-link" href="{{ term.permalink }}"> #{{ term.name }} </a>
|
||||||
#{{ term.name }} - {{ term.page_count }}
|
<sup class="opacity-60">{{ term.page_count }}</sup>
|
||||||
</a>
|
|
||||||
</h3>
|
</h3>
|
||||||
|
|
||||||
{%for page in term.pages | slice(end=5) %}
|
{%for page in term.pages | slice(end=5) %}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue