fix theme...
This commit is contained in:
22
themes/anzhiyu/layout/includes/page/album.pug
Normal file
22
themes/anzhiyu/layout/includes/page/album.pug
Normal file
@@ -0,0 +1,22 @@
|
||||
#album
|
||||
- let album_background = page.top_background
|
||||
.author-content.author-content-item.album.single(style=`${album_background ? `background: url(${album_background}) top / cover no-repeat;` : ""}`)
|
||||
.card-content
|
||||
.author-content-item-tips 相册集
|
||||
span.author-content-item-title 这里是我的相册集哦😯
|
||||
.content-bottom
|
||||
.tips 每一张照片都是一次美好的记忆。
|
||||
.banner-button-group
|
||||
a.banner-button(onclick='pjax.loadUrl("/about/")')
|
||||
i.anzhiyufont.anzhiyu-icon-arrow-circle-right(style='font-size: 1.5rem')
|
||||
span.banner-button-text 关于本人
|
||||
.card-album
|
||||
each i in site.data.album
|
||||
.card(onclick=`pjax.loadUrl("${i.path_name}")`)
|
||||
img.card_cover(src=i.cover)
|
||||
.card__content
|
||||
p.card__category=i.class_name
|
||||
h3.card__heading=i.description
|
||||
.album-content-nocover
|
||||
.album-content-nocover
|
||||
.album-content-nocover
|
||||
Reference in New Issue
Block a user