blob: 25c55ea2081feef799d72c7fc47bc6cc86cf4bea (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
<: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>
</|>
|