feat: 添加个人主页实现 (#1)

Reviewed-on: #1
This commit is contained in:
2024-07-02 09:17:23 +08:00
parent 2efe2fd5cd
commit 0d8476a132
24 changed files with 269 additions and 147 deletions

View File

@@ -1,4 +1,4 @@
@page "/archives"
@page "/blog/archives"
@using YaeBlog.Core.Models
@using YaeBlog.Core.Services
@@ -40,7 +40,7 @@
@foreach (KeyValuePair<string, BlogEssay> pair in group)
{
<div class="archive-item">
<a href="essays/@(pair.Key)" target="_blank">
<a href="/blog/essays/@(pair.Key)" target="_blank">
<FluentStack Orientation="@Orientation.Horizontal">
<FluentLabel Typo="@Typography.H5" Style="width: 80px">
@(pair.Value.PublishTime.ToString("MM-dd"))