Compare commits
2 commits
2c3515eb73
...
23aeeb0e0b
| Author | SHA1 | Date | |
|---|---|---|---|
| 23aeeb0e0b | |||
| 9550b3e13e |
9 changed files with 98 additions and 3 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
|
||||
[home]
|
||||
en = "home"
|
||||
|
|
@ -21,7 +34,7 @@ es = "idioma"
|
|||
|
||||
[site-lang-avail]
|
||||
en = "este sitio tambien está en"
|
||||
es = "this site is also in"
|
||||
es = "this site is also available in"
|
||||
|
||||
[home-lang-img]
|
||||
en = "/img/es.jpg"
|
||||
|
|
|
|||
BIN
_img/404.xcf
Normal file
BIN
_img/404.xcf
Normal file
Binary file not shown.
|
|
@ -6,7 +6,9 @@
|
|||
{% endblock head %}
|
||||
</head>
|
||||
<body>
|
||||
{% block main_page_wrapper %}
|
||||
<div class="main-page-wrapper">
|
||||
{% endblock main_page_wrapper %}
|
||||
<div class="header-wrapper">
|
||||
{% block header %}
|
||||
{% include "default_header.njk" %}
|
||||
|
|
|
|||
|
|
@ -55,6 +55,40 @@ body {
|
|||
@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 {
|
||||
display: flex;
|
||||
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:
|
||||
- atom feed
|
||||
- mobile support
|
||||
- 404 page
|
||||
- ~~404 page~~
|
||||
- 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:
|
||||
- un feed rss (atom)
|
||||
- mejor soporte para celulares
|
||||
- página 404
|
||||
- ~~página 404~~
|
||||
- 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