new blog post!

This commit is contained in:
Tabby 2026-01-24 02:52:05 +00:00
parent ba4dd4a955
commit 782ff5f430
10 changed files with 73 additions and 3 deletions

View file

@ -51,7 +51,7 @@
// console.log('tag successful')
qSupplied = true
}
var { data } = await useAsyncData('home', () => queryContent('blog').where({ tags: { $contains: query },hidden: {$not : true}},).sort({id:-1}).find())
var { data } = await useAsyncData('home', () => queryContent('blog').where({ tags: { $contains: query },hidden: {$not : true}},).sort({id:-1, $numeric: true}).find())
</script>
<style scoped>

View file

@ -17,7 +17,7 @@ useSeoMeta({
ogDescription: "My personal website.",
});
var { data } = await useAsyncData('home', () => queryContent('blog').where({hidden : {$not : true}}).sort({id:-1}).limit(3).find())
var { data } = await useAsyncData('home', () => queryContent('blog').where({hidden : {$not : true}}).sort({id:-1, $numeric: true}).limit(3).find())
</script>