|
@model sBlog.Net.Models.ViewPostOrPageModel
@if (Model.PreviousPost != null)
{
<div style="float: left">
@Html.RouteLink("<< Previous Post", "IndividualPost", new { year = Model.PreviousPost.PostYear, month = Model.PreviousPost.PostMonth, url = Model.PreviousPost.PostUrl, status = string.Empty }, new { @title = Model.PreviousPost.PostTitle })
</div>
}
@if (Model.NextPost != null)
{
<div style="float: right">
@Html.RouteLink("Next Post >>", "IndividualPost", new { year = Model.NextPost.PostYear, month = Model.NextPost.PostMonth, url = Model.NextPost.PostUrl }, new { @title = Model.NextPost.PostTitle })
</div>
}
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.
Just another passionate software developer!
Some of the contributions to the open source world - a blog engine written in MVC 4 - sBlog.Net. Check it out
here. For the codeproject article regarding sBlog.Net click
here!
(Figuring out this section!)