mirror of
https://github.com/saicaca/fuwari.git
synced 2026-03-08 01:53:26 +01:00
feat: minor fixes
This commit is contained in:
@@ -51,9 +51,9 @@ function formatDate(date: Date) {
|
||||
return `${month}-${day}`;
|
||||
}
|
||||
|
||||
|
||||
// console.log(groups)
|
||||
|
||||
function formatTag(tag: string[]) {
|
||||
return tag.map(t => `#${t}`).join(' ');
|
||||
}
|
||||
|
||||
---
|
||||
|
||||
@@ -96,7 +96,7 @@ function formatDate(date: Date) {
|
||||
<div class="w-[15%] text-left text-sm transition
|
||||
whitespace-nowrap overflow-ellipsis overflow-hidden
|
||||
text-black/30 dark:text-white/30"
|
||||
>#Test #Markdown</div>
|
||||
>{formatTag(post.data.tags)}</div>
|
||||
</div>
|
||||
</Button>
|
||||
</a>
|
||||
|
||||
@@ -8,6 +8,6 @@ import {getConfig} from "../utils/config-utils";
|
||||
<div class="text-black/50 dark:text-white/50 text-sm">
|
||||
© 2023 {getConfig().profile.author}. All Rights Reserved.
|
||||
<br>
|
||||
Powered by Vivia
|
||||
Powered by <a class="link text-[var(--primary)]" target="_blank" href="https://github.com/saicaca/fuwari">Fuwari</a>
|
||||
</div>
|
||||
</div>
|
||||
Reference in New Issue
Block a user