Website: update article template to show lastModifiedAt timestamp (#20774)

Related to: https://github.com/fleetdm/confidential/issues/7345

Changes:
- Updated the article template page to show a timestamp of when the
article was last modified (previously, this showed the date in the
`pubishedOn` meta tag)
This commit is contained in:
Eric 2024-07-25 18:03:15 -05:00 committed by GitHub
parent 52f6ff142c
commit 9993590829
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -6,7 +6,7 @@
</div>
<div class="d-flex flex-sm-row flex-column justify-content-between align-items-sm-center">
<div purpose="article-details" class="d-flex flex-row align-items-center">
<span><js-timestamp format="billing" :at="thisPage.meta.publishedOn"></js-timestamp></span>
<span><js-timestamp format="billing" :at="thisPage.lastModifiedAt"></js-timestamp></span>
<span class="px-2">|</span>
<img style="height: 28px; width: 28px; border-radius: 100%;" alt="The author's GitHub profile picture" :src="'https://github.com/'+thisPage.meta.authorGitHubUsername+'.png?size=200'">
<p class="pl-2 font-weight-bold"><%=thisPage.meta.authorFullName %></p>