From 18c3b8ea7ec33efa9ef5f48211e99b6b6d7b5600 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=90=D1=80=D1=82=D1=91=D0=BC?= Date: Mon, 15 Jul 2024 20:10:14 +0300 Subject: [PATCH] =?UTF-8?q?=D0=A3=D1=85=D0=BD=D1=8F,=20=D0=B2=D0=B5=D1=80?= =?UTF-8?q?=D1=82=D0=B0=D0=B9=20=D0=B2=D0=B7=D0=B0=D0=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- content/errors/{ => 403}/403.md | 1 + content/errors/403/_index.md | 3 +++ content/errors/{ => 404}/404.md | 1 + content/errors/404/_index.md | 3 +++ content/errors/{ => 500}/500.md | 1 + content/errors/500/_index.md | 3 +++ content/errors/{ => 502}/502.md | 1 + content/errors/502/_index.md | 3 +++ content/errors/{ => 503}/503.md | 1 + content/errors/503/_index.md | 3 +++ content/errors/{ => 504}/504.md | 3 ++- content/errors/504/_index.md | 3 +++ layouts/_default/single.html | 2 +- themes/hugo-theme-terminal | 1 + 14 files changed, 27 insertions(+), 2 deletions(-) rename content/errors/{ => 403}/403.md (88%) create mode 100644 content/errors/403/_index.md rename content/errors/{ => 404}/404.md (81%) create mode 100644 content/errors/404/_index.md rename content/errors/{ => 500}/500.md (91%) create mode 100644 content/errors/500/_index.md rename content/errors/{ => 502}/502.md (81%) create mode 100644 content/errors/502/_index.md rename content/errors/{ => 503}/503.md (92%) create mode 100644 content/errors/503/_index.md rename content/errors/{ => 504}/504.md (83%) create mode 100644 content/errors/504/_index.md create mode 160000 themes/hugo-theme-terminal diff --git a/content/errors/403.md b/content/errors/403/403.md similarity index 88% rename from content/errors/403.md rename to content/errors/403/403.md index 5bf8f28..ed2d4fe 100644 --- a/content/errors/403.md +++ b/content/errors/403/403.md @@ -1,4 +1,5 @@ --- +showFullContent: true --- # 403 Forbidden diff --git a/content/errors/403/_index.md b/content/errors/403/_index.md new file mode 100644 index 0000000..3a0effc --- /dev/null +++ b/content/errors/403/_index.md @@ -0,0 +1,3 @@ +--- +title: 403 Forbidden +--- diff --git a/content/errors/404.md b/content/errors/404/404.md similarity index 81% rename from content/errors/404.md rename to content/errors/404/404.md index bd491c3..0fb619d 100644 --- a/content/errors/404.md +++ b/content/errors/404/404.md @@ -1,4 +1,5 @@ --- +showFullContent: true --- ![](/img/errors/404.png) diff --git a/content/errors/404/_index.md b/content/errors/404/_index.md new file mode 100644 index 0000000..bb0b881 --- /dev/null +++ b/content/errors/404/_index.md @@ -0,0 +1,3 @@ +--- +title: "404 Not found" +--- diff --git a/content/errors/500.md b/content/errors/500/500.md similarity index 91% rename from content/errors/500.md rename to content/errors/500/500.md index f33d7e4..c9a5a6c 100644 --- a/content/errors/500.md +++ b/content/errors/500/500.md @@ -1,4 +1,5 @@ --- +showFullContent: true --- # 500 Internal Server Error diff --git a/content/errors/500/_index.md b/content/errors/500/_index.md new file mode 100644 index 0000000..5615928 --- /dev/null +++ b/content/errors/500/_index.md @@ -0,0 +1,3 @@ +--- +title: 500 Internal Server Error +--- diff --git a/content/errors/502.md b/content/errors/502/502.md similarity index 81% rename from content/errors/502.md rename to content/errors/502/502.md index 9d2275f..f9970a1 100644 --- a/content/errors/502.md +++ b/content/errors/502/502.md @@ -1,4 +1,5 @@ --- +showFullContent: true --- ![](/img/errors/502.png) diff --git a/content/errors/502/_index.md b/content/errors/502/_index.md new file mode 100644 index 0000000..1d82cee --- /dev/null +++ b/content/errors/502/_index.md @@ -0,0 +1,3 @@ +--- +title: "502 Bad Gateway" +--- diff --git a/content/errors/503.md b/content/errors/503/503.md similarity index 92% rename from content/errors/503.md rename to content/errors/503/503.md index f50a282..625e532 100644 --- a/content/errors/503.md +++ b/content/errors/503/503.md @@ -1,4 +1,5 @@ --- +showFullContent: true --- # 503 Service unavailable diff --git a/content/errors/503/_index.md b/content/errors/503/_index.md new file mode 100644 index 0000000..17856c3 --- /dev/null +++ b/content/errors/503/_index.md @@ -0,0 +1,3 @@ +--- +title: "503 Service unavailable" +--- diff --git a/content/errors/504.md b/content/errors/504/504.md similarity index 83% rename from content/errors/504.md rename to content/errors/504/504.md index fedd690..e2615dd 100644 --- a/content/errors/504.md +++ b/content/errors/504/504.md @@ -1,5 +1,6 @@ --- ---- +showFullContent: true +--- # 504 Gateway timeout ![](/img/errors/504_krosh.jpg) diff --git a/content/errors/504/_index.md b/content/errors/504/_index.md new file mode 100644 index 0000000..e48a906 --- /dev/null +++ b/content/errors/504/_index.md @@ -0,0 +1,3 @@ +--- +title: "504 Gateway timeout" +--- diff --git a/layouts/_default/single.html b/layouts/_default/single.html index d737282..91b8170 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -14,5 +14,5 @@ - + {{ partial "posts_pagination.html" . }} {{ end }} diff --git a/themes/hugo-theme-terminal b/themes/hugo-theme-terminal new file mode 160000 index 0000000..7e13d24 --- /dev/null +++ b/themes/hugo-theme-terminal @@ -0,0 +1 @@ +Subproject commit 7e13d24d10c59c1cf1d1f011f7c4c93266d8aa7d