mirror of
https://github.com/ArthurDanjou/website-old.git
synced 2026-01-27 10:20:40 +01:00
Move v-if
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
<template>
|
||||
<section v-if="posts" class="w-full flex items-center justify-center my-12">
|
||||
<section class="w-full flex items-center justify-center my-12">
|
||||
<div class="flex flex-col items-center text-center">
|
||||
<div class="flex flex-col items-center">
|
||||
<h2 class="font-bold text-3xl">
|
||||
@@ -9,7 +9,7 @@
|
||||
{{ $t('blog.description') }}
|
||||
</p>
|
||||
</div>
|
||||
<div class="w-full lg:w-1/2 mt-20 grid grid-cols-1 gap-y-24 mb-8 sm:mb-24 text-left">
|
||||
<div v-if="posts" class="w-full lg:w-1/2 mt-20 grid grid-cols-1 gap-y-24 mb-8 sm:mb-24 text-left">
|
||||
<Post
|
||||
v-for="post in posts"
|
||||
:key="post.slug"
|
||||
|
||||
Reference in New Issue
Block a user