From ed816e03ee97f616a5175956ab09d91fc07e5e84 Mon Sep 17 00:00:00 2001 From: Michael Noronha Date: Tue, 1 Aug 2017 00:57:59 -0400 Subject: [PATCH 1/4] An initial redesign --- layouts/404.html | 53 ++++++++++++++++++++++++++++------- layouts/partials/css/main.css | 2 +- 2 files changed, 44 insertions(+), 11 deletions(-) diff --git a/layouts/404.html b/layouts/404.html index 6370ccd..9562be8 100644 --- a/layouts/404.html +++ b/layouts/404.html @@ -1,11 +1,44 @@ -{{ partial "header.html" . }} -
-
-
-
404
-
Sorry, this page does not exist.
- + + + + + 404 + + + + + + + + + +
+ logo +
+
+
+
404
+
+
The page you were looking for does not exist.
+ +
-
-
-{{ partial "footer.html" . }} + + + + diff --git a/layouts/partials/css/main.css b/layouts/partials/css/main.css index cc177f6..2711828 100644 --- a/layouts/partials/css/main.css +++ b/layouts/partials/css/main.css @@ -676,4 +676,4 @@ section.main .content .navigation a { .wf-ubuntu-mono-n4-active section.main .content .markdown code, .wf-ubuntu-mono-n4-active section.main .content .markdown pre { font-family: 'Ubuntu Mono'; -} \ No newline at end of file +} From 7e0d03aed44c266b2a60bed6d77b089ce6049db3 Mon Sep 17 00:00:00 2001 From: Michael Noronha Date: Thu, 3 Aug 2017 23:24:52 -0400 Subject: [PATCH 2/4] Replaced header with head_includes to compact partial --- layouts/404.html | 34 +++------------------------------- 1 file changed, 3 insertions(+), 31 deletions(-) diff --git a/layouts/404.html b/layouts/404.html index 9562be8..21c392d 100644 --- a/layouts/404.html +++ b/layouts/404.html @@ -1,32 +1,5 @@ - - - - - 404 - - - - - - - - - +{{ partial "head_includes.html" . }} +
logo
@@ -39,6 +12,5 @@
- + - From a7cde56381c0b5c13a529e1d5d7a1b23686e5c12 Mon Sep 17 00:00:00 2001 From: Michael Noronha Date: Fri, 4 Aug 2017 00:31:09 -0400 Subject: [PATCH 3/4] Update 404.html --- .gitignore | 2 ++ layouts/404.html | 43 +++++++++++++++++++++++++++++++------------ 2 files changed, 33 insertions(+), 12 deletions(-) diff --git a/.gitignore b/.gitignore index 6f0f92d..0379b75 100644 --- a/.gitignore +++ b/.gitignore @@ -2,5 +2,7 @@ .DS_Store */**/.DS_Store +*.swp + # exampleSite exampleSite/public diff --git a/layouts/404.html b/layouts/404.html index 21c392d..31f596f 100644 --- a/layouts/404.html +++ b/layouts/404.html @@ -1,16 +1,35 @@ + + + + +404 - Page not found {{ partial "head_includes.html" . }} + + -
- logo -
-
-
-
404
-
-
The page you were looking for does not exist.
- -
+ +
+
+
+
404
+
+
The page you were looking for does not exist.
+
-
+ - + From 2535da12d7da18d080dce2cffa9fe8f58fda218c Mon Sep 17 00:00:00 2001 From: Michael Noronha Date: Fri, 4 Aug 2017 00:33:12 -0400 Subject: [PATCH 4/4] Moved 404 css to its own partial --- layouts/404.html | 14 +------------- layouts/partials/css/404.css | 14 ++++++++++++++ 2 files changed, 15 insertions(+), 13 deletions(-) create mode 100644 layouts/partials/css/404.css diff --git a/layouts/404.html b/layouts/404.html index 31f596f..badeb83 100644 --- a/layouts/404.html +++ b/layouts/404.html @@ -5,19 +5,7 @@ 404 - Page not found {{ partial "head_includes.html" . }} diff --git a/layouts/partials/css/404.css b/layouts/partials/css/404.css new file mode 100644 index 0000000..551fc50 --- /dev/null +++ b/layouts/partials/css/404.css @@ -0,0 +1,14 @@ +.logo { + vertical-align: middle; + max-width: 300px; +} +.content { + margin: 3em auto; + text-align: center; +} +.header { + margin-left: initial; + margin-right: intial; + padding: 0 !important; +} +