new blog post!
This commit is contained in:
parent
ba4dd4a955
commit
782ff5f430
10 changed files with 73 additions and 3 deletions
|
|
@ -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>
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue