fix(formatter): fixed formatter max line length
This commit is contained in:
parent
45e6358a4c
commit
b5c3e41def
3 changed files with 10 additions and 39 deletions
|
|
@ -9,4 +9,5 @@ indent_size = 2
|
|||
end_of_line = lf
|
||||
charset = utf-8
|
||||
trim_trailing_whitespace = false
|
||||
insert_final_newline = false
|
||||
insert_final_newline = false
|
||||
max_line_length = 150
|
||||
|
|
@ -5,9 +5,7 @@ import TransFlagPanel from "../../layouts/TransFlagPanel.astro";
|
|||
import Panel from "../../layouts/Panel.astro";
|
||||
import "../../styles/blogIndex.scss";
|
||||
|
||||
const latestPosts = (await getCollection("blog")).sort(
|
||||
(a, b) => b.data.pubDate.valueOf() - a.data.pubDate.valueOf(),
|
||||
);
|
||||
const latestPosts = (await getCollection("blog")).sort((a, b) => b.data.pubDate.valueOf() - a.data.pubDate.valueOf());
|
||||
---
|
||||
|
||||
<Main title="Blog">
|
||||
|
|
@ -18,10 +16,7 @@ const latestPosts = (await getCollection("blog")).sort(
|
|||
latestPosts.map((post) => {
|
||||
return (
|
||||
<a href={`/blog/${post.id}`} class="blog-post-link">
|
||||
<Panel
|
||||
title={`${post.data.title} - ${post.data.pubDate.toLocaleString()}`}
|
||||
customClass="blog-post-panel"
|
||||
>
|
||||
<Panel title={`${post.data.title} - ${post.data.pubDate.toLocaleString()}`} customClass="blog-post-panel">
|
||||
<p>{post.data.description}</p>
|
||||
</Panel>
|
||||
</a>
|
||||
|
|
|
|||
|
|
@ -15,50 +15,25 @@ import "../styles/Badge.scss";
|
|||
</TransFlagPanel>
|
||||
<Panel title="bwa">
|
||||
<p>
|
||||
Hai! I'm Riley! A <WavyText colour="transgender">transfem</WavyText> foxgirl
|
||||
who likes programming & self-hosting who lives in the UK. Nice to meet you meow!
|
||||
>^w^<
|
||||
Hai! I'm Riley! A <WavyText colour="transgender">transfem</WavyText> foxgirl who likes programming & self-hosting who lives in the UK. Nice
|
||||
to meet you meow! >^w^<
|
||||
</p>
|
||||
</Panel>
|
||||
<Panel title="My Friens :3">
|
||||
<div class="badgeBanner">
|
||||
{
|
||||
FriendBadges.map((badge) => (
|
||||
<Badge
|
||||
image={badge.image}
|
||||
url={badge.url}
|
||||
title={badge.title}
|
||||
alt={badge.alt}
|
||||
/>
|
||||
))
|
||||
}
|
||||
{FriendBadges.map((badge) => <Badge image={badge.image} url={badge.url} title={badge.title} alt={badge.alt} />)}
|
||||
</div>
|
||||
</Panel>
|
||||
<Panel title="Other Badges">
|
||||
<div class="badgeBanner">
|
||||
{
|
||||
OtherBadges.map((badge) => (
|
||||
<Badge
|
||||
image={badge.image}
|
||||
url={badge.url}
|
||||
title={badge.title}
|
||||
alt={badge.alt}
|
||||
/>
|
||||
))
|
||||
}
|
||||
{OtherBadges.map((badge) => <Badge image={badge.image} url={badge.url} title={badge.title} alt={badge.alt} />)}
|
||||
</div>
|
||||
</Panel>
|
||||
<Panel title="Webring!">
|
||||
<p>
|
||||
<a
|
||||
href="https://tilde.linuxposting.xyz/ring.py?prev&foxgirlriley.neocities.org"
|
||||
>🡠</a
|
||||
>
|
||||
<a href="https://tilde.linuxposting.xyz/ring.py?prev&foxgirlriley.neocities.org">🡠</a>
|
||||
<a href="#" title="Coming soon">Linuxposting webring</a>
|
||||
<a
|
||||
href="https://tilde.linuxposting.xyz/ring.py?next&foxgirlriley.neocities.org"
|
||||
>🡢</a
|
||||
>
|
||||
<a href="https://tilde.linuxposting.xyz/ring.py?next&foxgirlriley.neocities.org">🡢</a>
|
||||
</p>
|
||||
</Panel>
|
||||
</Main>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue