mirror of
https://github.com/KivotosRailway/website.git
synced 2026-11-04 03:08:00 +09:00
25 lines
956 B
Plaintext
25 lines
956 B
Plaintext
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
|