Revert "Feat: 添加系列文章目录"

This commit is contained in:
Jerry Wong
2022-05-22 00:02:14 +08:00
committed by GitHub
Unverified
parent 6d387eadcc
commit e650f71086
3 changed files with 0 additions and 20 deletions

View File

@@ -1,15 +0,0 @@
.card-widget(class='series_post' id='series_post')
.item-headline
i(class='fas fa-car-side')
span 系列文章 #{Series}
.item-content
- let list = site.posts.sort('date', -1)
ul(class='series_post_list')
- list.each(function(article){
if article.series == Series
- let link = article.link || article.path
- let title = article.title || _p('no_title')
li
a.title(href=url_for(link) title=title)= title
- })

View File

@@ -13,8 +13,6 @@
.sticky_layout
if showToc
include ./card_post_toc.pug
if Series
include ./card_series_post.pug
!=partial('includes/widget/card_recent_post', {}, {cache: true})
!=partial('includes/widget/card_ad', {}, {cache: true})
else