Files
website/themes/solitude/layout/index.pug
T
2024-07-05 21:01:19 +08:00

23 lines
942 B
Plaintext

extends includes/layout
block content
if theme.hometop.enable || (theme.says.home_mini && theme.says.enable)
#home_top
if theme.says.home_mini && theme.says.enable
include ./includes/widgets/home/bbTimeList
if theme.hometop.enable && is_home_first_page()
include ./includes/widgets/home/hometop
main.layout#content-inner
#home
#category-bar
include ./includes/widgets/home/categoryBar
.recent-posts#recent-posts
if theme.carousel && is_home_first_page()
include ./includes/widgets/home/carousel.pug
for post, index in page.posts.sort("-sticky" || "-date").data
include ./includes/widgets/home/postList
// pagination
include ./includes/mixins/pagination
// aside
include ./includes/widgets/aside/aside