PHP code example of owebstudio / kirby-template-stacks
1. Go to this page and download the library: Download owebstudio/kirby-template-stacks library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
owebstudio / kirby-template-stacks example snippets
stack('scripts') // directly outputted
push('scripts')
push('scripts', true)
<html>
<body>
stack('scripts')
snippet('header')
<html>
<body>
<?= $slots->default()
snippet('layouts/default', slots: true)