added hrt experience and hidden blog posts

This commit is contained in:
Tabby 2025-04-11 00:15:40 +10:00
parent f36b168aa0
commit 4a86b2941f
3 changed files with 65 additions and 2 deletions

View file

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

View file

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