<?php // @Layout name: Main ?>
<?php echo ipView('_header.php')->render(); ?>
    <!-- Main -->
    <div id="main-wrapper">
        <div class="container">
            <div class="row gtr-200">
                <div class="col-8 col-12-medium">
                    <div id="content">

                        <?php echo ipBlock('main')->exampleContent(' '); ?>

                        <?php if(!is_null(ipContent()->getCurrentPage())) { ?>
                            <div class="meta">
                                <span class="meta-icon"><i class="fa fa-calendar"></i></span>
                                <span class="meta-date"><?php echo '<strong>Published:</strong> '. date('jS, l, M, Y', strtotime(ipPageCreatedAt())); ?></span>
                                <span class="meta-icon"><i class="fa fa-clock"></i></span>
                                <span class="meta-date"><?php echo '<strong>Last Modified:</strong> '. date('jS, l, M, Y', strtotime(ipPageUpdatedAt())); ?></span>
                            </div>
                        <?php } ?>

                    </div>
                </div>
                <div class="col-4 col-12-medium">
                    <div id="sidebar">

                        <?php echo ipBlock('side1')->asStatic()->render(); ?>

                    </div>
                </div>
            </div>
        </div>
    </div>
<?php echo ipView('_footer.php')->render(); ?>
