@model IEnumerable<Model.coldfeng_posts>


@{
    ViewBag.Title = "List";
    Layout = "~/Views/Shared/_Layout.cshtml";
}


    <div class="pagetitle">
        <h1>@ViewData["name"] 的文章</h1>
    </div>
    @foreach(var item in Model){
    <article class="excerpt excerpt-1">
        <a target="_blank" class="focus" href="/article/details/@item.ID">
        <img data-src="@item.post_image" class="thumb" src="@item.post_image" style="display: inline;"></a><header><a class="cat" href="http://www.coldfeng.com/mvc4">MVC4<i></i></a>
            <h2><a target="_blank" href="/article/details/@item.ID" title="@item.post_title - 冷风网">@item.post_title</a></h2>
        </header>
        <p class="meta">
            <time>
                <i class="fa fa-clock-o"></i>2015-05-14</time>
            <span class="author"><i class="fa fa-user"></i>
                <a href="/author/list/@item.post_author">@item.post_nickname</a>
            </span><span class="pv"><i class="fa fa-eye"></i>阅读(@item.post_hits)</span>
            <a class="pc" href="/article/details/@item.ID#comments">
                <i class="fa fa-comments-o"></i>评论(0)</a></p>
        <p class="note">@item.post_content  […]</p>
    </article>

    }


