remove isEditoOpen variable
This commit is contained in:
parent
8aa1b420d9
commit
fac2b9479d
1 changed files with 2 additions and 3 deletions
|
|
@ -1,13 +1,12 @@
|
|||
<?php snippet('header') ?>
|
||||
|
||||
<main x-data="{ isEditoOpen: false }">
|
||||
<main>
|
||||
<article>
|
||||
<?php snippet('cover', slots: true) ?>
|
||||
<?php slot('title') ?>
|
||||
<a
|
||||
href="#main-edito"
|
||||
class="no-line"
|
||||
@click="isEditoOpen = true"
|
||||
>
|
||||
<h2 class="main-title <?= setTitleFontSizeClass($site->subtitle()) ?>"><?= $site->subtitle() ?></h2>
|
||||
<p
|
||||
|
|
@ -16,7 +15,7 @@
|
|||
</button>
|
||||
<?php endslot() ?>
|
||||
<?php endsnippet() ?>
|
||||
<div x-show="isEditoOpen" id="main-edito" class="content">
|
||||
<div id="main-edito" class="content">
|
||||
<?= $site->edito() ?>
|
||||
</div>
|
||||
</article>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue