mirror of
https://iceshrimp.dev/Crimekillz/jointrashposs.git
synced 2024-11-25 02:09:05 +01:00
(refactor) blog: limit fetchable data
This commit is contained in:
parent
614f2bbd0d
commit
5b0e20423c
@ -32,6 +32,6 @@
|
||||
</template>
|
||||
|
||||
<script setup lang="ts">
|
||||
const { data } = await useAsyncData('blog', () => queryContent('blog').sort({ date: -1 }).find());
|
||||
const { data } = await useAsyncData('blog', () => queryContent('blog').only(['_path', 'navTitle', 'title', 'date']).sort({ date: -1 }).find());
|
||||
const localePath = useLocalePath();
|
||||
</script>
|
||||
|
Loading…
Reference in New Issue
Block a user