added dateIndeterminate parameter to banner2 for miscellaneous dates

This commit is contained in:
2026-04-08 14:01:58 +02:00
parent 9d0a13be30
commit 98b518a150
4 changed files with 12 additions and 5 deletions

View File

@@ -3,6 +3,7 @@
title,
date = "", // date posted
dateUpdated = "",
dateIndeterminate = "", // raw date without an explanation marker next to it
subtitle = "",
banner = "",
bannerAlt = "",
@@ -12,6 +13,7 @@
title: string;
date?: string;
dateUpdated?: string;
dateIndeterminate?: string;
subtitle?: string;
banner?: string;
bannerAlt?: string;
@@ -36,9 +38,14 @@
</div>
{/if}
</div>
{#if date}
{#if date || dateIndeterminate}
<div class="date-container">
<p class="date">posted :: {date}</p>
{#if dateIndeterminate}
<p class="date">:: {dateIndeterminate}</p>
{/if}
{#if date}
<p class="date">posted :: {date}</p>
{/if}
{#if dateUpdated}
<p class="date">last updated :: {dateUpdated}</p>
{/if}