Leaf Input and Submit

This commit is contained in:
2016-12-06 11:53:30 -05:00
parent a3b8b7a881
commit 6fd7e46f5d
74 changed files with 56144 additions and 1291 deletions
+28 -1
View File
@@ -2,5 +2,32 @@
@{
Layout = "Master.cshtml";
}
<div class="home">
@CurrentPage.GetGridHtml("content", "fanoe")
</div>
@{
var blogSelection = CurrentPage.Site().FirstChild("BlogPostRepository").Children("BlogPost").Where("Visible");
}
<div role="content">
@CurrentPage.GetGridHtml("content", "fanoe")
<section class="light blogarchive equalizer">
<div class="container">
<div class="row">
@foreach(var post in blogSelection)
{
<div class="col-sm-6">
<div class="content equal">
<a href="@post.Url">
<div class="date">@post.CreateDate.ToLongDateString()</div>
<h2>@post.Name</h2>
<p>@Umbraco.Truncate(post.Introduction, 240, true)</p>
</a>
</div>
</div>
}
</div>
</div>
</section>
</div>