mirror of
https://github.com/alextselegidis/easyappointments.git
synced 2024-11-28 19:03:21 +03:00
Echo the slot as a comment so that it can be used by HTML replacement mechanisms
This commit is contained in:
parent
0041e29ec7
commit
b018542c77
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