Some Issue Fix
Signed-off-by: Al Asad Nur Riyad <asadnurriyad@gmail.com>
This commit is contained in:
@@ -6,13 +6,13 @@
|
|||||||
<NuxtLink to="/" class="hover:underline">
|
<NuxtLink to="/" class="hover:underline">
|
||||||
Home
|
Home
|
||||||
</NuxtLink>
|
</NuxtLink>
|
||||||
|
<NuxtLink to="/blogs" class="hover:underline">
|
||||||
|
Blogs
|
||||||
|
</NuxtLink>
|
||||||
<NuxtLink to="/categories" class="hover:underline">
|
<NuxtLink to="/categories" class="hover:underline">
|
||||||
Categories
|
Categories
|
||||||
</NuxtLink>
|
</NuxtLink>
|
||||||
<NuxtLink to="/blogs" class="hover:underline">
|
<NuxtLink to="/about" class="hover:underline">
|
||||||
Archive
|
|
||||||
</NuxtLink>
|
|
||||||
<NuxtLink to="https://www.nurriyad.xyz/" target="_blank" class="hover:underline">
|
|
||||||
About Me
|
About Me
|
||||||
</NuxtLink>
|
</NuxtLink>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
<script lang="ts" setup>
|
<script lang="ts" setup>
|
||||||
// Get Last 6 Publish Post from the content/blog directory
|
// Get Last 6 Publish Post from the content/blog directory
|
||||||
const { data } = await useAsyncData('trending-post', () =>
|
const { data } = await useAsyncData('trending-post', () =>
|
||||||
queryContent('/blogs').limit(3).sort({ _id: -1 }).find(),
|
queryContent('/blogs').limit(3).sort({ _id: 1 }).find(),
|
||||||
)
|
)
|
||||||
|
|
||||||
const formatedData = computed(() => {
|
const formatedData = computed(() => {
|
||||||
|
|||||||
Reference in New Issue
Block a user