<!DOCTYPE html>

<html lang="zh-CN">
<head>
    <% include("base/web-settings-meta.html"){} %>
    <title>${site.siteName!}-首页</title>
    <link rel="canonical" href="https://www.ijson.net/" />

</head>

<body>

<% include("base/web-settings-top-nav.html"){} %>

<% include("base/web-settings-reg-login.html"){} %>


<div class="container">

    <div class="row">
        <div class="blog-header"></div>

        <div class="col-sm-9 blog-main">

            <% if(isEmpty(dataList)){ %>

                <% if(isEmpty(keyWord)){ %>
                    <div class="alert alert-info blog-not-find">未检索到博文条目,请后台录入</div>
                <% }else{ %>
                    <div class="alert alert-info blog-not-find">未搜索到与 "${keyWord!}" 相关的博文信息</div>
                <% } %>

            <% }else{
            for(data in dataList){
            %>
                <div class="blog-post">

                    <% if(data.top==true||data.fine==true){ %>
                    <div class="post-pro">
                        <% if(data.top==true){ %>
                        <span class="post-pro-item pro-item-success">精选</span>
                        <%}%>

                        <% if(data.fine==true){ %>
                        <span class="post-pro-item pro-item-warning">置顶</span>
                        <%}%>
                    </div>

                    <%}%>


                    <h4 class="blog-post-title"><a class="blog-a" href="/article/${data.ename}/details/${data.shamId}.html">${data.title}</a>
                    </h4>
                    <p class="blog-post-context">
                        ${data.intro}

                    </p>

                    <div class="in-post-footer">
                        <span class="pull-left">
                            <a><i class="fa fa-calendar"></i> ${data.createTime,dateFormat="yyyy-MM-dd"}</a>
                            <a href="/article/${data.ename}/details/${data.shamId}.html#comments"><i class="fa fa-commenting-o"></i> ${data.reply} 条评论</a>
                        </span>
                        <span class="visible-lg visible-md visible-sm pull-left">
                            <a href="/article/${data.ename}/details/${data.shamId}.html"><i class="fa fa-eye"></i> ${data.views} 次阅读</a>
                            <!--<a href="javascript:;" data-action="love" data-id="3666" class="Love"><i class="fa fa-thumbs-o-up"></i> 0人点赞</a>-->
                            <a href="#"><i class="fa fa-user"></i> ${data.cname}</a>
                        </span>
                        <span class="pull-right">
                            <a class="read-more" href="/article/${data.ename}/details/${data.shamId}.html" title="${data.title}">阅读全文 <i class="fa fa-chevron-circle-right"></i></a>
                        </span>
                    </div>

                </div>

            <%}} %>


            <nav aria-label="Page navigation">
                <ul class="pagination">

                    <% for(var i=1;i<page.totalPage+1;i++){

                        if(page.currentPage==i){
                            print("<li class='active'><a>"+i+"</a></li>");
                        }else{
                            print("<li><a href='/index?index="+i+"'>"+i+"</a></li>");
                        }
                    } %>
                </ul>
            </nav>


        </div><!-- /.blog-main -->

        <div class="col-sm-3 blog-right">
            <% include("base/web-settings-bulletin.html"){} %>
            <% include("base/web-settings-reward.html"){} %>
            <% include("base/web-settings-blog-admin-info.html"){} %>
            <% include("base/index-list-blogroll.html"){} %>
            <% include("base/index-list-hot-article.html"){} %>
            <% include("base/index-list-hot-tag.html"){} %>
            <% include("base/index-list-rece-publish.html"){} %>
        </div>

    </div><!-- /.row -->

</div><!-- /.container -->

<% include("base/web-settings-footer.html"){} %>

<% include("base/web-settings-bottom.html"){} %>

</body>
</html>
