-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathblog.php
40 lines (34 loc) · 954 Bytes
/
blog.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
<?php defined('AUTOMAD') or die('Direct access not permitted!'); ?>
<@ snippets/header.php @>
<@ snippets/carousel_full_width.php @>
<@ newPagelist {
type: 'children',
context: @{ showPagesBelow },
filter: @{ ?filter },
search: @{ ?search },
sort: 'date desc',
template: @{ templateFilter }
} @>
<@ if not @{ checkboxHideTeaser } @>
<div class="container pt-5 pb-5">
<div class="row">
<# Use one single grid column to limit the width on large screens. #>
<div class="col-lg-9">
<h1 class="mb-5">@{ title }</h1>
<div class="lead mb-n2">
<@ snippets/text_teaser.php @>
</div>
</div>
</div>
</div>
<@ end @>
<@ if @{ checkboxShowAllPagesInPagelist } or @{ ?search } @>
<@ pagelist { type: false } @>
<@ end @>
<@ if @{ :pagelistCount } @>
<div class="container pb-5">
<@ snippets/filters.php @>
</div>
<@ snippets/pagelist_posts.php @>
<@ end @>
<@ snippets/footer.php @>