Skip to content

Commit

Permalink
fix prose markup
Browse files Browse the repository at this point in the history
  • Loading branch information
yuheiy committed Mar 18, 2024
1 parent 47e61b4 commit b7d6637
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 9 deletions.
16 changes: 9 additions & 7 deletions src/pages/404.astro
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,15 @@ searchURL.searchParams.set('q', `site:${Astro.site.host}`);
<Layout is404 title={title}>
<PageHeader title={title} />

<main class="prose wrapper">
<p>
<a data-internet-archive-link href={`https://web.archive.org/web/*/${Astro.site.href}`}
>インターネットアーカイブ</a
>を参照するか、<a href={searchURL}>サイト内を検索する</a
>と、お探しのページが見つかるかもしれません。
</p>
<main class="wrapper">
<div class="prose">
<p>
<a data-internet-archive-link href={`https://web.archive.org/web/*/${Astro.site.href}`}
>インターネットアーカイブ</a
>を参照するか、<a href={searchURL}>サイト内を検索する</a
>と、お探しのページが見つかるかもしれません。
</p>
</div>
</main>
</Layout>

Expand Down
6 changes: 4 additions & 2 deletions src/pages/[...slug].astro
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,9 @@ invariant(
<p class="text-sm text-dynamic-muted" set:html={renderDateToHtml(entry.data.pubDate)} />
</PageHeader>

<main class="prose wrapper">
<Content />
<main class="wrapper">
<div class="prose">
<Content />
</div>
</main>
</Layout>

0 comments on commit b7d6637

Please sign in to comment.