Files
hexo-theme-butterfly/layout/post.pug

25 lines
821 B
Plaintext

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