-
Notifications
You must be signed in to change notification settings - Fork 1
/
blogs.vm
50 lines (37 loc) · 1.27 KB
/
blogs.vm
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
41
42
43
44
45
46
47
48
49
50
<!DOCTYPE html>
<html lang="en">
<head>
<title>Blogs</title>
$include.template("include-htmlhead.vm")
</head>
<body>
$include.template("include-header.vm")
<div class="container bc-page-container">
<div class="row">
<div class="col-md-9" role="main">
<div class="bs-docs-section">
<div class="page-header">
<h1 id="overview">Blog</h1>
</div>
<p class="lead">
#if($categoryName != "")
$blogPosts.size() blog posts found in category '<em>$categoryName</em>'.
#else
$blogPosts.size() blog posts found.
#end
</p>
<div class="list-group">
#foreach($blogPost in $blogPosts)
<a href="$blogPost.link" class="list-group-item">
<h2 class="list-group-item-heading">$blogPost.title</h2>
<p class="list-group-item-text">$blogPost.excerpt</p>
</a>
#end
</div>
</div>
</div>
$include.template("include-blog-sidebar.vm")
</div>
</div>
$include.template("include-footer.vm")
</body>