/
_footer.cshtml
47 lines (45 loc) · 1.76 KB
/
_footer.cshtml
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
<!-- Footer -->
<div id="footer-wrapper">
<section id="footer" class="container">
<div class="row">
<div class="8u">
<section>
<header>
<h2>More Episodes</h2>
</header>
<ul class="dates">
@foreach(IDocument post in Documents["Content"]
.Where(x => x.String("collection") == "episodes")
.OrderByDescending(x => x.Get<DateTime>("date")))
{
<li>
<span class="date">@(post.Get<DateTime>("date").ToString("MMM")) <strong>@(post.Get<DateTime>("date").Day)</strong></span>
<h3><a href="@Context.GetLink(post)">@post["title"]</a></h3>
<p>@post["shortdesc"]</p>
</li>
}
</ul>
</section>
</div>
<div class="4u">
<section>
<header>
<h2>What's this all about?</h2>
</header>
<a href="#" class="image featured"><img src="@Model["banner"]" alt="" /></a>
<p>@Model["description"]</p>
</section>
</div>
</div>
<div class="row">
<div class="12u">
<!-- Copyright -->
<div id="copyright">
<ul class="links">
<li>© @Model["title"]. All rights reserved.</li><li>Design: <a href="http://html5up.net">HTML5 UP</a></li>
</ul>
</div>
</div>
</div>
</section>
</div>