layout hero home name text tagline actions Quahog Koha Blog A chrono-synclastic infundibulum theme text link brand Guides /guides/ theme text link alt About /about <script setup> import { data as posts } from '/data/posts.data' import { data as bugs } from '/data/bugs.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 ) const randomBug = bugs.bugs[(Math.floor(Math.random() * bugs.bugs.length))] </script> Recent posts {{ post.frontmatter.title }} {{ formatDate( post.frontmatter.date ) }} Random bug <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>