From ce4ec5a1fea8dee9aec392a9a6e6b0ca33ca7088 Mon Sep 17 00:00:00 2001 From: mor Date: Mon, 9 Apr 2018 16:42:50 +0900 Subject: [PATCH 1/2] header.html was divided to header and intro sections. --- layouts/index.html | 1 + layouts/partials/header.html | 28 ---------------------------- layouts/partials/intro.html | 28 ++++++++++++++++++++++++++++ 3 files changed, 29 insertions(+), 28 deletions(-) create mode 100644 layouts/partials/intro.html diff --git a/layouts/index.html b/layouts/index.html index 8580673..6eb83a0 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -1,5 +1,6 @@ {{ partial "head.html" . }} {{ partial "header.html" . }} +{{ partial "intro.html" . }} {{ partial "about.html" . }} {{ partial "services.html" . }} {{ partial "pricing.html" . }} diff --git a/layouts/partials/header.html b/layouts/partials/header.html index 1592c46..e441647 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -36,31 +36,3 @@ - -
- -
- -
- -
-
-
-

{{ .Site.Title }}

-

{{ .Site.Params.description }}

-
- {{ if isset .Site.Params "social" }} -
    - {{ partial "social.html" . }} -
- {{ end }} -
-
-
- -
- - -
- -
diff --git a/layouts/partials/intro.html b/layouts/partials/intro.html new file mode 100644 index 0000000..dd55d8a --- /dev/null +++ b/layouts/partials/intro.html @@ -0,0 +1,28 @@ + +
+ +
+ +
+ +
+
+
+

{{ .Site.Title }}

+

{{ .Site.Params.description }}

+
+ {{ if isset .Site.Params "social" }} +
    + {{ partial "social.html" . }} +
+ {{ end }} +
+
+
+ +
+ + +
+ +
From 8e1dfe65497083cc2cc18fb4eb880a6f62d0c260 Mon Sep 17 00:00:00 2001 From: mor Date: Mon, 9 Apr 2018 16:43:52 +0900 Subject: [PATCH 2/2] add 404.html --- layouts/404.html | 4 ++++ layouts/partials/404content.html | 17 +++++++++++++++++ 2 files changed, 21 insertions(+) create mode 100644 layouts/404.html create mode 100644 layouts/partials/404content.html diff --git a/layouts/404.html b/layouts/404.html new file mode 100644 index 0000000..3616cf5 --- /dev/null +++ b/layouts/404.html @@ -0,0 +1,4 @@ +{{ partial "head.html" . }} +{{ partial "header.html" . }} +{{ partial "404content.html" . }} +{{ partial "footer.html" . }} diff --git a/layouts/partials/404content.html b/layouts/partials/404content.html new file mode 100644 index 0000000..2857c4c --- /dev/null +++ b/layouts/partials/404content.html @@ -0,0 +1,17 @@ + +
+
+
+
+
+
+

Error - 404: Page not found.

+
+ +
+
+
+
+