Skip to content

Commit 9da0070

Browse files
committed
Multilingual 404 Page
1 parent 63cda30 commit 9da0070

File tree

1 file changed

+21
-3
lines changed

1 file changed

+21
-3
lines changed

layouts/404.html

Lines changed: 21 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,28 @@
1212
*/}}
1313
<div class="container-fluid td-outer" style="padding: 1rem;">
1414
<main role="main" class="d-flex justify-content-center">
15-
<div class="col-12 mx-auto text-center" style="max-width: 35rem; padding-top: 6rem; ">
16-
<img src="/images/404.png" alt="Not found" width="55%" class="no-border" style="min-width: 350px; margin-bottom:1rem;">
15+
<div class="col-12 mx-auto text-center" style="max-width: 35rem; padding-top: 3rem; ">
16+
<img src="/images/404.png" width="55%" class="no-border" style="min-width: 350px; margin-bottom:1rem;">
1717
<p class="page-title" style="font-size: 1.5rem; margin-bottom:.5rem">Another Page Washed Away Mysteriously (404)</p>
1818
<p class="body" style="font-size: 1rem;">This page doesn't exist. Try using the search bar at the top of the page to find the documentation that you are looking for.</p>
19-
<a href="{{ "/" | relURL }}" class="btn btn-outline-secondary" style="padding-top: .5rem; padding-bottom: .5rem; padding-left: 1rem; padding-right: 1rem;">Go Back Home</a>
19+
<a href="{{ "/" | relURL }}" class="btn btn-outline-secondary" style="padding-top: .5rem; padding-bottom: .5rem; padding-left: 1rem; padding-right: 1rem; margin-bottom:.5rem">Go Back Home</a>
20+
<!-- German -->
21+
<p class="page-title" style="font-size: 1rem; margin-bottom:.5rem">Eine weitere Seite wurde auf mysteriöse Weise weggespült (404)</p>
22+
<p class="body" style="font-size: 0.8rem;">Diese Seite existiert nicht. Verwenden Sie die Suchleiste oben auf der Seite, um die gewünschte Dokumentation zu finden.</p>
23+
<a href="{{ "/" | relURL }}" class="btn btn-outline-secondary" style="padding-top: .5rem; padding-bottom: .5rem; padding-left: 1rem; padding-right: 1rem; margin-bottom:.5rem">Wieder nach Hause gehen</a>
24+
<!-- Japanese -->
25+
<p class="page-title" style="font-size: 1rem; margin-bottom:.5rem">もう一つのページが謎の形で流される(404)</p>
26+
<p class="body" style="font-size: 0.8rem;">このページは存在しません。ページ上部の検索バーを使用して、探しているドキュメントを見つけてください。</p>
27+
<a href="{{ "/" | relURL }}" class="btn btn-outline-secondary" style="padding-top: .5rem; padding-bottom: .5rem; padding-left: 1rem; padding-right: 1rem; margin-bottom:.5rem;">家に帰ります</a>
28+
<!-- Korean -->
29+
<p class="page-title" style="font-size: 1rem; margin-bottom:.5rem">신비롭게 씻겨 내려가는 또 다른 페이지(404)</p>
30+
<p class="body" style="font-size: 0.8rem;">이 페이지는 존재하지 않습니다. 페이지 상단의 검색창을 사용해 원하는 문서를 찾아보세요.</p>
31+
<a href="{{ "/" | relURL }}" class="btn btn-outline-secondary" style="padding-top: .5rem; padding-bottom: .5rem; padding-left: 1rem; padding-right: 1rem; margin-bottom:.5rem">집으로 돌아가기</a>
32+
<!-- Chinese -->
33+
<p class="page-title" style="font-size: 1rem; margin-bottom:.5rem">又一页神秘被冲走(404)</p>
34+
<p class="body" style="font-size: 0.8rem;">T此页面不存在。请尝试使用页面顶部的搜索栏来查找您正在寻找的文档。</p>
35+
<a href="{{ "/" | relURL }}" class="btn btn-outline-secondary" style="padding-top: .5rem; padding-bottom: .5rem; padding-left: 1rem; padding-right: 1rem; margin-bottom:.5rem">返回首页</a>
36+
2037
</div>
2138
</main>
2239
<script type="text/javascript">
@@ -27,3 +44,4 @@
2744
{{ partial "scripts.html" . }}
2845
</body>
2946
</html>
47+

0 commit comments

Comments
 (0)