Skip to content

Commit

Permalink
Move NextAndPrevLinks inside main on episode page
Browse files Browse the repository at this point in the history
  • Loading branch information
tylermercer committed Sep 22, 2024
1 parent 06f883d commit 6a38745
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions src/pages/[season]/[episode].astro
Original file line number Diff line number Diff line change
Expand Up @@ -92,18 +92,16 @@ type Reference = CollectionEntry<"episodes">["data"]["references"][number];
<ol>
{
entry.data.references.map((ref: Reference) => (
<Fragment>
<li>
<h3>{ref.passage}</h3>
<p>{ref.notes}</p>
<Passage passage={ref.passage} />
</li>
</Fragment>
<li>
<h3>{ref.passage}</h3>
<p>{ref.notes}</p>
<Passage passage={ref.passage} />
</li>
))
}
</ol>
<NextAndPrevLinks next={nextData} prev={prevData} itemLabel="Episode" />
</main>
<NextAndPrevLinks next={nextData} prev={prevData} itemLabel="Episode" />
<Footer />
</Base>
<style lang="scss">
Expand Down

0 comments on commit 6a38745

Please sign in to comment.