31 lines
777 B
Text
31 lines
777 B
Text
props
|
|
title: string
|
|
description?: string
|
|
article
|
|
h1
|
|
= title
|
|
div.article-details(data-slot="article-details")
|
|
div.items
|
|
if date
|
|
div.item
|
|
i.ph.ph-calendar(aria-hidden="true")
|
|
time(datetime=isoDate pubdate)= date
|
|
if updated
|
|
div.item
|
|
i.ph.ph-clock-clockwise(aria-hidden="true")
|
|
time(datetime=isoUpdated pubdate)= updated
|
|
if authors
|
|
div.item
|
|
i.ph.ph-users(aria-hidden="true")
|
|
span= authors
|
|
if readingTime
|
|
div.item
|
|
i.ph.ph-clock-countdown(aria-hidden="true")
|
|
span= readingTime + ' min read'
|
|
if body
|
|
div.article-body
|
|
!= body
|
|
if notes
|
|
ul.statements
|
|
each statement in notes
|
|
li= statement
|