mirror of
https://iceshrimp.dev/Crimekillz/jointrashposs.git
synced 2024-11-25 10:19:07 +01:00
(refactor) blog: limit fetchable data
This commit is contained in:
parent
614f2bbd0d
commit
5b0e20423c
@ -32,6 +32,6 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script setup lang="ts">
|
<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();
|
const localePath = useLocalePath();
|
||||||
</script>
|
</script>
|
||||||
|
Loading…
Reference in New Issue
Block a user