Create the ability to create blog pages and blog-posts.

This commit is contained in:
2026-04-20 09:31:28 +10:00
parent 87999e63f8
commit c34cd57610
6 changed files with 131 additions and 0 deletions

View File

@@ -14,6 +14,17 @@
Kirby::plugin(
name: "hobbyhome/blog",
extends: [
"blueprints" => [
"pages/blog" => __DIR__ . "/blueprints/pages/blog.yml",
"pages/blog-post" => __DIR__ . "/blueprints/pages/blog-post.yml",
],
"templates" => [
"blog" => __DIR__ . "/templates/blog.php",
"blog-post" => __DIR__ . "/templates/blog-post.php",
],
"controllers" => [
"blog" => require __DIR__ . "/controllers/blog.php",
],
],
info: [
"authors" => [[