added dateIndeterminate parameter to banner2 for miscellaneous dates
This commit is contained in:
@@ -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}
|
||||
|
||||
Reference in New Issue
Block a user