Include frameworks

    Themes in Koblog are very flexible; you can use any framework (Bootstrap, Foundation, Bulma, UIkit, Semantic UI, etc), any Javascript code, whatever you want.

    We include a few frameworks in the documentation, but feel free to add more of them by editing this page.

    Include jQuery

    Koblog keeps the latest version of jQuery in its package, you can include it with the helper.

    <?php
        echo Theme::jquery();
    ?>

    HTML output

    <script src="https://www.example.com/bl-kernel/js/jquery.min.js"></script>

    Include Bootstrap

    Koblog keeps the latest version of Bootstrap in its package, you can include it with the helper.

    Include Javascript file for Bootstrap.

    <?php
        echo Theme::jsBootstrap();
    ?>

    HTML output

    <script src="https://www.example.com/bl-kernel/js/bootstrap.bundle.min.js"></script>

    Include CSS file for Bootstrap.

    <?php
        echo Theme::cssBootstrap();
    ?>

    HTML output

    <link rel="stylesheet" type="text/css" href="https://www.example.com/bl-kernel/css/bootstrap.min.css">