mirror of
https://github.com/alextselegidis/easyappointments.git
synced 2024-12-28 01:22:25 +03:00
Echo the slot as a comment so that it can be used by HTML replacement mechanisms
This commit is contained in:
parent
0e766419f4
commit
3b01f9bf91
1 changed files with 2 additions and 0 deletions
|
@ -167,6 +167,8 @@ if (!function_exists('slot')) {
|
|||
|
||||
$section = $layout['sections'][$name] ?? null;
|
||||
|
||||
echo '<!-- <SLOT id="' . $layout['filename'] . '/' . $name . '" /> -->' . PHP_EOL;
|
||||
|
||||
if (!$section) {
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue