mirror of
https://github.com/KivotosRailway/website.git
synced 2026-11-03 19:07:56 +09:00
Add solitude
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user