<#import "_layout.html" as layout>
<@layout.header "文章-${(article.title)!}"></@layout.header>
<@layout.body>
    <section id="feature1">
        <div class="container">
            <div class="row">
                <div class="col-md-6 wow fadeInUp" data-wow-delay="0.6s">
                    <h2 class="text-uppercase">文章id:${(article.id)!}</h2>
                    <p>标题:${(article.title)!}</p>
                    <p>作者:${(article.author)!}</p>
                    <p>缩略图:<img src="${(article.thumbnail)!}"/></p>
                    <p>浏览次数:${(article.viewCount)!}</p>
                    <p>创建时间:<@formatTime value=(article.created)!/></p>
                    <p>
                        <@prevArticleTag articleId=(article.id)!>
                            <#if data??>
                                <a href="${data.url!}">上一篇</a>
                            </#if>
                        </@prevArticleTag>
                    </p>
                    <p>
                        <@nextArticleTag articleId=(article.id)!>
                            <#if data??>
                                <a href="${data.url!}">下一篇</a>
                            </#if>
                        </@nextArticleTag>
                    </p>
                    <p>分类:
                    <#if (article.categoryList)?? && (article.categoryList?size>0)>
                        <#list article.categoryList as item>
                            <#if item.type=='category'>
                                ${(item.title)!} &nbsp;
                            </#if>
                        </#list>
                    </#if>
                    </p>
                    <p>标签:
                        <#if (article.categoryList)?? && (article.categoryList?size>0)>
                            <#list article.categoryList as item>
                                <#if item.type=='tag'>
                                    ${(item.title)!} &nbsp;
                                </#if>
                            </#list>
                        </#if>
                    </p>

                    ${(article.contentHtml)!}

                    <div>price:${(article.extFields.price)!}</div>

                    <a href="/p/pay">微信支付</a>
                </div>
            </div>
        </div>
    </section>
</@layout.body>
<@layout.script>
</@layout.script>