Rename sub_heading -> subtitle.
This commit is contained in:
parent
8a9d3eb772
commit
1d0f25a3b4
1 changed files with 2 additions and 1 deletions
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Reference in a new issue