Skip to content

Latest commit

 

History

History
49 lines (42 loc) · 1.1 KB

blog.md

File metadata and controls

49 lines (42 loc) · 1.1 KB
title
Blog
<script setup> import { data as posts } from '/data/posts.data' import formatDate from '/.vitepress/theme/utils/formatDate' import getSorted from '/.vitepress/theme/utils/getSorted' import getRandom from '/.vitepress/theme/utils/getRandom' const sortedPosts = getSorted( posts ) const randomPost = getRandom( posts ) </script>
  • {{ post.frontmatter.title }}
    {{ formatDate( post.frontmatter.date ) }}
<style scoped> ul { list-style-type: none; padding-left: 0; font-size: 1.125rem; line-height: 1.75; } li { display: flex; justify-content: space-between; } li span { font-family: var(--vp-font-family-mono); font-size: var(--vp-code-font-size); } </style>