Skip to content

Commit

Permalink
Add headings on Firehose
Browse files Browse the repository at this point in the history
  • Loading branch information
DeclanChidlow committed Feb 12, 2025
1 parent 1bec8a1 commit ecf78d2
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
6 changes: 6 additions & 0 deletions src/assets/styles/pages/firehose.css
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,12 @@ article {
gap: 2rem;
margin-bottom: 1rem;

h2 {
font-size: inherit;
line-height: inherit;
font-weight: normal;
}

div {
display: flex;
gap: 1ch;
Expand Down
6 changes: 3 additions & 3 deletions src/pages/firehose.ori
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<header>
<div>
<span class="icons">article</span>
<a href="/posts/${ basename(key) }"><time datetime="${ item/pub_time }" title="Date of first publication.">${ functions/pretty-date.js(item/pub_time) }</time></a>
<h2><a href="/posts/${ basename(key) }"><time datetime="${ item/pub_time }" title="Date of first publication.">${ functions/pretty-date.js(item/pub_time) }</time></a></h2>
</div>
</header>

Expand All @@ -37,7 +37,7 @@
<header>
<div>
<span class="icons">photo_camera</span>
<a href="/photography/${ basename(key) }"><time datetime="${ item/pub_time }" title="Date of first publication.">${ functions/pretty-date.js(item/pub_time) }</time></a>
<h2><a href="/photography/${ basename(key) }"><time datetime="${ item/pub_time }" title="Date of first publication.">${ functions/pretty-date.js(item/pub_time) }</time></a></h2>
</div>

<div class="socials">
Expand All @@ -61,7 +61,7 @@
<header>
<div>
<span class="icons">stylus_note</span>
<a href="/micros/${ basename(key) }"><time datetime="${ item/pub_time }" title="Date of first publication.">${ functions/pretty-date.js(item/pub_time) } ${ functions/pretty-time.js(item/pub_time) }</time></a>
<h2><a href="/micros/${ basename(key) }"><time datetime="${ item/pub_time }" title="Date of first publication.">${ functions/pretty-date.js(item/pub_time) } ${ functions/pretty-time.js(item/pub_time) }</time></a></h2>
</div>

<div class="socials">
Expand Down

0 comments on commit ecf78d2

Please sign in to comment.