Create the ability to create blog pages and blog-posts.
This commit is contained in:
11
index.php
11
index.php
@@ -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" => [[
|
||||
|
||||
Reference in New Issue
Block a user