index.html 821 字节
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
extends includes/layout.pug

block content
  article#post(class="")
    #article-container.post-content!=page.content
    include includes/post/post-copyright.pug
    .tag_share
      if (theme.post_meta.post.tags)
        .post-meta__tag-list
          each item, index in page.tags.data
            a(href=url_for(item.path)).post-meta__tags #[=item.name]
      !=partial('includes/share/index', {}, {cache:theme.fragment_cache})
        
    if theme.reward.enable
      !=partial('includes/post/reward', {}, {cache:theme.fragment_cache})

    //- ad
    if theme.ad && theme.ad.post
      .post-ad!=theme.ad.post

    include includes/pagination.pug
    if theme.related_post && theme.related_post.enable
      != related_posts(page,site.posts)
    if page.comments !== false
      include includes/comments/index.pug