Combine.php - gtbu/Typesetter5.2 GitHub Wiki

The file combine.php contains template-variables like

bootstrap3-js, bootstrap4-js , bootstrap5.2-js and bootstrap-icons (Typesetter 5.3), fontawesome and fontawesome6 (Typesetter 5.3),

'bootstrap5.3-js' => [	'file'	=> '/include/thirdparty/Bootstrap5.3/js/bootstrap.bundle.min.js',

'bootstrap-icons' => [	'file'	=> '/include/thirdparty/Bootstrap5/fonts/bootstrap-icons.min.css',

etc. This allows easy embedding these files in the template.php

 <head>
    <meta charset="utf-8">

    <meta http-equiv="X-UA-Compatible" content="IE=edge">

    <meta name="viewport" content="width=device-width, initial-scale=1.0">

    <?php

    \gp\tool::LoadComponents( 'bootstrap3-js' , fontawesome);

or also in the template

common::LoadComponents( 'bootstrap4-js,fontawesome' );
⚠️ **GitHub.com Fallback** ⚠️