Skip to content

Latest commit

 

History

History
27 lines (19 loc) · 509 Bytes

index.md

File metadata and controls

27 lines (19 loc) · 509 Bytes

Latest posts

{{ article.title }}

{{ article.excerpt }}

**~ {{ article.Author }}** ({{ transformDate(article.Updated) }})

<script setup> import data from './data.json' // sort articles const articles = data.sort( (a, b) => new Date(b.Updated) - new Date(a.Updated) ) const transformDate = (date) => new Date(date).toLocaleDateString('en-US', { year: 'numeric', month: 'long', day: 'numeric' }) </script>