Add solitude

This commit is contained in:
IF-chan
2024-07-05 21:01:19 +08:00
parent 26d71c4fbc
commit 71758b9fce
289 changed files with 23277 additions and 0 deletions
+24
View File
@@ -0,0 +1,24 @@
extends includes/layout.pug
block content
#error-wrap
.error-content
.error-img(style=`background-image: url(${url_for(theme.errorpage.img)})`)
.error-info
h1.error_title 404
.error_subtitle= theme.errorpage.text
a.button--animated(href=url_for("/"))
i.solitude.st-external-link
=_p('404.button')
if theme.errorpage.recommendList
.aside-list
.aside-list-group
each post, index in site.posts.sort('-date').data.slice(0, 6)
if index >= 5
break
.aside-list-item
a.thumbnail(href=url_for(post.path), title=post.title)
img(src=post.cover, alt=post.title)
.content
a.title(href=url_for(post.path), title=post.title)= post.title