Make the code easier to read.

This commit is contained in:
2024-06-16 13:22:49 +08:00
parent 37f035709d
commit ed1a6fe662
8 changed files with 71 additions and 41 deletions
+11 -6
View File
@@ -1,16 +1,21 @@
---
import Footer from '../../../components/Footer.astro';
import Nav from '../../../components/Nav.astro';
import CollectionSummary from '../../../components/article/CollectionSummary.astro';
import DefaultLayout from '../../../layouts/DefaultLayout.astro';
import Footer from "../../../components/Footer.astro";
import Nav from "../../../components/Nav.astro";
import CollectionSummary from "../../../components/article/CollectionSummary.astro";
import DefaultLayout from "../../../layouts/DefaultLayout.astro";
---
<DefaultLayout title="笔记 - 李守中">
<Nav />
<div class="options">
<span>当前: [按名字排序] <a href="/article/note/sort_by_timeline">按日期降序</a></span>
<span>当前: [按名字排序]</span>
<a href="/article/note/sort_by_timeline">按日期降序</a>
</div>
<CollectionSummary collectionName="note" sortedByTimeline={false}/>
<CollectionSummary
collectionName="note"
sortByTimeline={false}
sortByArticleTitle={true}
/>
<Footer />
</DefaultLayout>