diff options
author | João Augusto Costa Branco Marado Torres <torres.dev@disroot.org> | 2025-07-04 15:37:50 -0300 |
---|---|---|
committer | João Augusto Costa Branco Marado Torres <torres.dev@disroot.org> | 2025-07-04 15:37:50 -0300 |
commit | 011c4266ccbf3ff66d92e223b2fafd291127c102 (patch) | |
tree | 8de8ed25817de784a866d8ba010ddfb7a106388c /src/pages/blog | |
parent | 2598c9ef0b945f13e94dba8f36c5fbb5cba58feb (diff) |
style: deno fmt
Signed-off-by: João Augusto Costa Branco Marado Torres <torres.dev@disroot.org>
Diffstat (limited to 'src/pages/blog')
-rw-r--r-- | src/pages/blog/read/[...slug].astro | 26 |
1 files changed, 12 insertions, 14 deletions
diff --git a/src/pages/blog/read/[...slug].astro b/src/pages/blog/read/[...slug].astro index 348a976..5b42e86 100644 --- a/src/pages/blog/read/[...slug].astro +++ b/src/pages/blog/read/[...slug].astro @@ -133,8 +133,8 @@ const commit = await verification?.commit; <BaseHead title={post.data.title} description={"description" in post.data - ? post.data.description - : post.data.title} + ? post.data.description + : post.data.title} /> </head> @@ -158,16 +158,14 @@ const commit = await verification?.commit; </hgroup> { "description" in post.data && post.data.description && - ( + ( <section itemprop="abstract"> <h2>Resumo</h2> { post.data.description.split(new RegExp("\\s{2,}")) - .map(( - x, - ) => ( - <p>{x}</p> - )) + .map(( + x, + ) => <p>{x}</p>) } </section> ) @@ -176,7 +174,7 @@ const commit = await verification?.commit; <footer> { verification?.verifications && - ( + ( <Authors verifications={verification.verifications} expectedSigners={signers} @@ -192,8 +190,8 @@ const commit = await verification?.commit; datetime={toIso8601Full(post.data.dateCreated)} >{ new Intl.DateTimeFormat([lang], {}).format( - post.data.dateCreated, - ) + post.data.dateCreated, + ) }</time> </dd> { @@ -204,15 +202,15 @@ const commit = await verification?.commit; datetime={toIso8601Full(post.data.dateUpdated)} >{ new Intl.DateTimeFormat([lang], {}).format( - post.data.dateUpdated, - ) + post.data.dateUpdated, + ) }</time> </dd> ) } { "locationCreated" in post.data && - post.data.locationCreated && ( + post.data.locationCreated && ( <dt itemprop="locationCreated" itemscope |