mirror of
https://github.com/ad-aures/castopod.git
synced 2026-04-03 23:09:18 +02:00
feat(plugins): add html field type + CodeEditor component + rework html head generation
update php and js packages to latest
This commit is contained in:
parent
b869acb3a9
commit
8cf9c6dc83
227 changed files with 2991 additions and 2988 deletions
|
|
@ -4,6 +4,7 @@ declare(strict_types=1);
|
|||
|
||||
namespace Modules\Admin\Controllers;
|
||||
|
||||
use App\Libraries\HtmlHead;
|
||||
use CodeIgniter\Controller;
|
||||
use CodeIgniter\HTTP\IncomingRequest;
|
||||
use CodeIgniter\HTTP\RequestInterface;
|
||||
|
|
@ -41,4 +42,16 @@ abstract class BaseController extends Controller
|
|||
|
||||
Theme::setTheme('admin');
|
||||
}
|
||||
|
||||
protected function setHtmlHead(string $title): void
|
||||
{
|
||||
/** @var HtmlHead $head */
|
||||
$head = service('html_head');
|
||||
|
||||
$head
|
||||
->title($title . ' | Castopod Admin')
|
||||
->description(
|
||||
'Castopod is an open-source hosting platform made for podcasters who want engage and interact with their audience.'
|
||||
);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue