use Pagekit\Site\Model\Page; use Pagekit\Site\Model\PageInterface; $page = new Page; $page->setTitle('About Us'); $page->setContent('This is a sample about us page.'); $page->addHtmlFooter('Copyright © 2021. All Rights Reserved.
'); $page->save();
boot(); $context = new Context($kernel); $context->addHtmlFooter('In this example, the addHtmlFooter method is used to add a "Powered by Pagekit" message to the footer of the web page. Based on the namespace and methods used in the examples, it can be determined that the package library used is Pagekit.Powered by Pagekit
'); echo $context->render('');