summary refs log blame commit diff stats
path: root/templates/gallery.crotmp
blob: 25c55ea2081feef799d72c7fc47bc6cc86cf4bea (plain) (tree)
1
2
3
4
5
6
7

                              
                  


                             
                                         













                                        

                                                                       
    
<:use 'templates/base.crotmp'>
<|page(.title)>
<div id="gallery">
    <@gallery : $i>

    <?{ $i.<type> eq 'img' }>
    <img src="<$i.<src>>" loading="lazy">
    </?>

    <?{ $i.<type> eq 'text' }>
    <div class="text">
        <$i.<text>>
    </div>
    </?>

    <?{ $i.<type> eq 'heading' }>
    <h1 class="heading"><$i.<text>></h1>
    </?>

    </@>
</div>
<script type="text/javascript" src="/resources/js/bricks.js"></script>
<script type="text/javascript" src="/resources/js/gallery.js"></script>
</|>