From f39f44c141c455d339c6bbf7270618e9a2fd962d Mon Sep 17 00:00:00 2001 From: wangpeiheng <805075854@qq.com> Date: Tue, 2 Jun 2020 15:17:21 +0800 Subject: [PATCH 1/3] Each article adds a specific URL --- themes/hugo-blog-jeffprod/layouts/404.html | 2 +- themes/hugo-blog-jeffprod/layouts/partials/footer.html | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/themes/hugo-blog-jeffprod/layouts/404.html b/themes/hugo-blog-jeffprod/layouts/404.html index d5484002..a767772a 100644 --- a/themes/hugo-blog-jeffprod/layouts/404.html +++ b/themes/hugo-blog-jeffprod/layouts/404.html @@ -1,6 +1,6 @@ {{ define "main" }} -
+
Page not found...
diff --git a/themes/hugo-blog-jeffprod/layouts/partials/footer.html b/themes/hugo-blog-jeffprod/layouts/partials/footer.html index 0765911d..1c407190 100644 --- a/themes/hugo-blog-jeffprod/layouts/partials/footer.html +++ b/themes/hugo-blog-jeffprod/layouts/partials/footer.html @@ -6,6 +6,10 @@ -- Gitee From b9aa70ac8319a3923ed87a8ddc7f8c876d68ddb5 Mon Sep 17 00:00:00 2001 From: wangpeiheng <805075854@qq.com> Date: Wed, 3 Jun 2020 09:27:35 +0800 Subject: [PATCH 2/3] Each blog adds its own address --- themes/hugo-blog-jeffprod/layouts/partials/footer.html | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/themes/hugo-blog-jeffprod/layouts/partials/footer.html b/themes/hugo-blog-jeffprod/layouts/partials/footer.html index 1c407190..4dabc43b 100644 --- a/themes/hugo-blog-jeffprod/layouts/partials/footer.html +++ b/themes/hugo-blog-jeffprod/layouts/partials/footer.html @@ -8,7 +8,8 @@ - - {{ partial "detail-banner.html" . }} \ No newline at end of file + \ No newline at end of file diff --git a/themes/hugo-blog-jeffprod/static/css/blog.css b/themes/hugo-blog-jeffprod/static/css/blog.css index eb13fd09..56c55c30 100644 --- a/themes/hugo-blog-jeffprod/static/css/blog.css +++ b/themes/hugo-blog-jeffprod/static/css/blog.css @@ -105,6 +105,7 @@ html,body { font-size: 0.44rem; margin: 0; max-height: 1.6rem; + font-weight: bold; } .article_right h3, .article_right>a>p { @@ -288,4 +289,58 @@ html,body { .guidance p,.guidance ol { line-height: 0.32rem; margin-bottom: 0.2rem; +} + +/* ---------------------------404--------------------------- */ +#error-page { + text-align: center; + margin-top: 20%; + margin-bottom: 100px; +} +.boxs { + background: #fff; + margin: 0 0 30px; + border: solid 1px #ccc; + -webkit-box-sizing: border-box; + -moz-box-sizing: border-box; + box-sizing: border-box; + padding: 20px 0; + border-left: none; + border-right: none; +} +.boxs h1, +.boxs h2 { + font-family: "Roboto", Helvetica, Arial, sans-serif; + font-weight: 900; + line-height: 1.1; +} +.boxs h1 { + color: #333333; +} +.boxs h2 { + color: #777; +} +#error-page p.buttons { + margin-top: 40px; +} +.btn { + font-weight: 700; + font-family: "Roboto", Helvetica, Arial, sans-serif; + text-transform: uppercase; + letter-spacing: 0.08em; + padding: 6px 12px; + font-size: 13px; + line-height: 1.42857143; + border-radius: 0; + border: 1px solid transparent; +} +.btn-template-main { + color: #467fbf; + background-color: #ffffff; + border-color: #467fbf; +} +.btn-template-main:hover, .btn-template-main:focus, .btn-template-main:active, .btn-template-main.active { + background: #467fbf; + color: #ffffff; + border-color: #467fbf; } \ No newline at end of file -- Gitee