-
Notifications
You must be signed in to change notification settings - Fork 0
/
archives.vm
executable file
·66 lines (55 loc) · 1.82 KB
/
archives.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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
<!DOCTYPE html>
<html lang="en">
<!-- XFN friendly -->
<head profile="http://gmpg.org/xfn/11">
#includeTemplate($model.weblog "standard_head")
<title>$model.weblog.name: Archives</title>
<link rel="stylesheet" type="text/css" href='$url.page("custom.css")' />
</head>
<body>
<!-- HEADER -->
<header>
#includeTemplate($model.weblog "standard_header")
</header>
<!-- BODY -->
<div class="container">
<div class="row">
<div class="col-lg-12">
<h1 class="page-header">$model.weblog.name <small>archives</small></h1>
</div>
</div>
<div class="row">
<!-- BODY MAIN-->
<div id="main_content" class="col-lg-8">
<h3>Browse the $model.weblog.name archives</h3>
<p>Browse the <b>$model.weblog.name</b> archive in month view, search for specific keywords
or jump to the most recent posts listed in the right sidebar.</p>
<br />
#showWeblogEntryCalendarBig($model.weblog "nil")
</div>
<!-- BODY SIDEBAR-->
<div id="sidebar_content" class="col-lg-4">
<div class="well">
<h3>Welcome</h3>
<p class="details">
You're on the Archives page of the weblog <b>$model.weblog.name</b>.</p>
<p class="details">
From here you can browse via the calendar, follow the links below or
<a href="$url.home">visit the main page</a> of the weblog.</p>
</div>
<div class="well">
<h3>Most recent posts</h3>
#set($recentEntries = $model.weblog.getRecentWeblogEntries("nil", 30))
<ul>#foreach($recentEntry in $recentEntries)
<li class="entryLink"><a href="$recentEntry.permalink">$recentEntry.title</a></li>
#end</ul>
</div>
</div> <!-- close sidebar_content -->
</div> <!-- /.row -->
</div> <!-- /.container -->
<!-- FOOTER -->
<footer>
#includeTemplate($model.weblog "standard_footer")
</footer>
</body>
</html>