home: allow text editing
This commit is contained in:
16
site/blueprints/pages/home.yml
Normal file
16
site/blueprints/pages/home.yml
Normal file
@@ -0,0 +1,16 @@
|
|||||||
|
title: Simple Page
|
||||||
|
|
||||||
|
status:
|
||||||
|
draft: Draft
|
||||||
|
unlisted: Online
|
||||||
|
|
||||||
|
columns:
|
||||||
|
main:
|
||||||
|
width: 2/3
|
||||||
|
sections:
|
||||||
|
fields:
|
||||||
|
type: fields
|
||||||
|
fields:
|
||||||
|
text:
|
||||||
|
type: textarea
|
||||||
|
size: huge
|
||||||
@@ -188,7 +188,7 @@ start()
|
|||||||
<div id="info" class="bg-white-green">
|
<div id="info" class="bg-white-green">
|
||||||
<button id="info_close" aria-label="Info Close" class="menu-button no-button flex" style="margin-top: 4px"><div style="transform: rotate(45deg); "></div><div style="transform: translate(0,-6px) rotate(135deg);"></div></button>
|
<button id="info_close" aria-label="Info Close" class="menu-button no-button flex" style="margin-top: 4px"><div style="transform: rotate(45deg); "></div><div style="transform: translate(0,-6px) rotate(135deg);"></div></button>
|
||||||
<div class="text-22" style="margin-top: 34pt">
|
<div class="text-22" style="margin-top: 34pt">
|
||||||
<?= $page->text() ?>
|
<?= $page->text()->kirbytext() ?>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user