Rename sub_heading -> subtitle.

This commit is contained in:
Benjamin A. Shelton 2026-12-03 20:21:14 -07:00
commit 1d0f25a3b4
Signed by: zancarius
GPG key ID: 8BD42DBD6C337E01

View file

@ -46,6 +46,7 @@ const { notes } = Astro.props;
<ul>{notes.map((note: CollectionEntry<'notes'>) => (
<li class="flex">
<div class="header-image">
{note.data.scripture ? <aside>{note.data.scripture}</aside> : '' }
<img src={urlfrag(base, note.data.post_image)} class="rounded-md" />
</div>
<div class="flex">
@ -61,7 +62,7 @@ const { notes } = Astro.props;
</div>
<hgroup>
<h2><a href={new URL(`${base}notes/${note.id}/`, Astro.url).pathname}>{note.data.title}</a></h2>
<h3>{note.data.sub_heading}</h3>
<h3>{note.data.subtitle}</h3>
</hgroup>
<time>{dateFormat(note.data.date)}</time>
</li>