add 404
This commit is contained in:
parent
2c3515eb73
commit
9550b3e13e
9 changed files with 97 additions and 2 deletions
|
|
@ -1,3 +1,16 @@
|
||||||
|
# 404
|
||||||
|
[404]
|
||||||
|
en = "404 not found"
|
||||||
|
es = "404 no encontrado"
|
||||||
|
|
||||||
|
[go-back]
|
||||||
|
en = "go home"
|
||||||
|
es = "vuelve a casa <3"
|
||||||
|
|
||||||
|
[404-alt]
|
||||||
|
en = "by yasuhira"
|
||||||
|
es = "por yasuhira"
|
||||||
|
|
||||||
# homepage
|
# homepage
|
||||||
[home]
|
[home]
|
||||||
en = "home"
|
en = "home"
|
||||||
|
|
|
||||||
BIN
_img/404.xcf
Normal file
BIN
_img/404.xcf
Normal file
Binary file not shown.
|
|
@ -6,7 +6,9 @@
|
||||||
{% endblock head %}
|
{% endblock head %}
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
{% block main_page_wrapper %}
|
||||||
<div class="main-page-wrapper">
|
<div class="main-page-wrapper">
|
||||||
|
{% endblock main_page_wrapper %}
|
||||||
<div class="header-wrapper">
|
<div class="header-wrapper">
|
||||||
{% block header %}
|
{% block header %}
|
||||||
{% include "default_header.njk" %}
|
{% include "default_header.njk" %}
|
||||||
|
|
|
||||||
|
|
@ -55,6 +55,40 @@ body {
|
||||||
@media (min-width: general.$breakpoint) { #mobile-warning { display: none; }}
|
@media (min-width: general.$breakpoint) { #mobile-warning { display: none; }}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// 404
|
||||||
|
#fof {
|
||||||
|
border: none;
|
||||||
|
.fof {
|
||||||
|
display: flex;
|
||||||
|
justify-content: flex-start;
|
||||||
|
flex-direction: column;
|
||||||
|
width: 100%;
|
||||||
|
h1 {
|
||||||
|
margin: 10px 10px 0px 10px;
|
||||||
|
font-family: fonts.$ll;
|
||||||
|
text-align: center;
|
||||||
|
text-decoration: none;
|
||||||
|
}
|
||||||
|
img {
|
||||||
|
max-width: fit-content;
|
||||||
|
display: block;
|
||||||
|
margin: auto;
|
||||||
|
}
|
||||||
|
.fof-foot {
|
||||||
|
display: flex;
|
||||||
|
justify-content: flex-start;
|
||||||
|
flex-direction: row;
|
||||||
|
justify-content: space-between;
|
||||||
|
width: 780px;
|
||||||
|
margin: 0px auto;
|
||||||
|
p {
|
||||||
|
font-family: fonts.$ll, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
|
||||||
|
font-size: 1.2em;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
.header-wrapper {
|
.header-wrapper {
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: flex-start;
|
align-items: flex-start;
|
||||||
|
|
|
||||||
23
en/404.njk
Normal file
23
en/404.njk
Normal file
|
|
@ -0,0 +1,23 @@
|
||||||
|
---
|
||||||
|
title: 404 not found
|
||||||
|
---
|
||||||
|
{% extends "_layouts/base.njk" %}
|
||||||
|
|
||||||
|
{% block main_page_wrapper %}
|
||||||
|
<div id="fof" class="main-page-wrapper">
|
||||||
|
{% endblock main_page_wrapper %}
|
||||||
|
|
||||||
|
{% block header %}{% endblock header %}
|
||||||
|
|
||||||
|
{% block content %}
|
||||||
|
<div class="fof">
|
||||||
|
<h1>{{ "404" | i18n }}</h1>
|
||||||
|
<img src="/img/404.jpg" alt="{{ "404-alt" | i18n }}">
|
||||||
|
<div class="fof-foot">
|
||||||
|
<p><a href={{ "/" | locale_url }}><-- {{ "go-back" | i18n }}</a></p>
|
||||||
|
<p><a href="https://www.pixiv.net/en/artworks/64483268" target="_blank">moving</a> {{ "404-alt" | i18n }}</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
{% endblock content %}
|
||||||
|
|
||||||
|
{% block footer %}{% endblock footer %}
|
||||||
|
|
@ -6,7 +6,7 @@ layout: home
|
||||||
welcome to my site!! as with every website this is a heavy work in progress. however my priorities right now are:
|
welcome to my site!! as with every website this is a heavy work in progress. however my priorities right now are:
|
||||||
- atom feed
|
- atom feed
|
||||||
- mobile support
|
- mobile support
|
||||||
- 404 page
|
- ~~404 page~~
|
||||||
- all pages marked as "under construction"
|
- all pages marked as "under construction"
|
||||||
|
|
||||||

|

|
||||||
|
|
|
||||||
23
es/404.njk
Normal file
23
es/404.njk
Normal file
|
|
@ -0,0 +1,23 @@
|
||||||
|
---
|
||||||
|
title: 404 not found
|
||||||
|
---
|
||||||
|
{% extends "_layouts/base.njk" %}
|
||||||
|
|
||||||
|
{% block main_page_wrapper %}
|
||||||
|
<div id="fof" class="main-page-wrapper">
|
||||||
|
{% endblock main_page_wrapper %}
|
||||||
|
|
||||||
|
{% block header %}{% endblock header %}
|
||||||
|
|
||||||
|
{% block content %}
|
||||||
|
<div class="fof">
|
||||||
|
<h1>{{ "404" | i18n }}</h1>
|
||||||
|
<img src="/img/404.jpg" alt="{{ "404-alt" | i18n }}">
|
||||||
|
<div class="fof-foot">
|
||||||
|
<p><a href={{ "/" | locale_url }}><-- {{ "go-back" | i18n }}</a></p>
|
||||||
|
<p><a href="https://www.pixiv.net/en/artworks/64483268" target="_blank">moving</a> {{ "404-alt" | i18n }}</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
{% endblock content %}
|
||||||
|
|
||||||
|
{% block footer %}{% endblock footer %}
|
||||||
|
|
@ -6,7 +6,7 @@ title: home
|
||||||
bienvenid@ a mi sitio!! aun no lo termino pero revisa lo que tenga hecho <3 pienso terminar primero:
|
bienvenid@ a mi sitio!! aun no lo termino pero revisa lo que tenga hecho <3 pienso terminar primero:
|
||||||
- un feed rss (atom)
|
- un feed rss (atom)
|
||||||
- mejor soporte para celulares
|
- mejor soporte para celulares
|
||||||
- página 404
|
- ~~página 404~~
|
||||||
- terminar todas las páginas marcadas como "en construcción"
|
- terminar todas las páginas marcadas como "en construcción"
|
||||||
|
|
||||||

|

|
||||||
|
|
|
||||||
BIN
img/404.jpg
Normal file
BIN
img/404.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 530 KiB |
Loading…
Add table
Reference in a new issue