From 93116ca84ef9053191e6c78bf97b05d9daf59906 Mon Sep 17 00:00:00 2001 From: Philip Wagner Date: Sun, 13 Oct 2024 21:53:38 +0200 Subject: [PATCH] home: allow text editing --- site/blueprints/pages/home.yml | 16 ++++++++++++++++ site/templates/home.php | 2 +- 2 files changed, 17 insertions(+), 1 deletion(-) create mode 100644 site/blueprints/pages/home.yml diff --git a/site/blueprints/pages/home.yml b/site/blueprints/pages/home.yml new file mode 100644 index 0000000..cfd8a8a --- /dev/null +++ b/site/blueprints/pages/home.yml @@ -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 \ No newline at end of file diff --git a/site/templates/home.php b/site/templates/home.php index 3efdd45..44d51a2 100644 --- a/site/templates/home.php +++ b/site/templates/home.php @@ -188,7 +188,7 @@ start()
- text() ?> + text()->kirbytext() ?>