diff --git a/layouts/404.html b/layouts/404.html index e69de29..a24abe7 100644 --- a/layouts/404.html +++ b/layouts/404.html @@ -0,0 +1,7 @@ +{{ define "main" }} +
+
+ 404 - Page not found +
+
+{{ end }} \ No newline at end of file diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index 82ac691..770ee48 100755 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -26,10 +26,10 @@ - {{- if .IsHome }} - {{ partial "header_homepage" . }} - {{- else }} - {{ partial "navbar" . }} + {{- if not .IsHome }} + {{- end }} {{ block "main" . }}{{ end }} diff --git a/layouts/_default/list.html b/layouts/_default/list.html index 17dd4cc..2529465 100644 --- a/layouts/_default/list.html +++ b/layouts/_default/list.html @@ -7,5 +7,5 @@ {{ end }} -{{ partial "pagination" . }} +{{ partial "layout/pagination" . }} {{ end }} \ No newline at end of file diff --git a/layouts/index.html b/layouts/index.html index ebf71cd..48d951d 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -1,13 +1,7 @@ {{ define "main" }}
-
- {{ range sort .Site.Data.twitter "order" }} -
- {{ partial "widget/tweet.html" . }} -
- {{ end }} -
+
Cannot find override file: `./layouts/index.html`
{{ end }} \ No newline at end of file diff --git a/layouts/partials/header_homepage.html b/layouts/partials/header_homepage.html deleted file mode 100644 index f3b998b..0000000 --- a/layouts/partials/header_homepage.html +++ /dev/null @@ -1 +0,0 @@ -Cannot find override file: `./layouts/partials/header_homepage.html` \ No newline at end of file diff --git a/layouts/partials/home_hero.html b/layouts/partials/home_hero.html new file mode 100644 index 0000000..8de8a21 --- /dev/null +++ b/layouts/partials/home_hero.html @@ -0,0 +1,25 @@ +
+
+ +
+ +
+
+
+ +
+ {{ partial "home_hero_contents" . }} +
+ + +
+
+ +
+
+
+
+
+
\ No newline at end of file diff --git a/layouts/partials/nav_contents.html b/layouts/partials/layout/navbar_contents.html similarity index 100% rename from layouts/partials/nav_contents.html rename to layouts/partials/layout/navbar_contents.html diff --git a/layouts/partials/pagination.html b/layouts/partials/layout/pagination.html similarity index 100% rename from layouts/partials/pagination.html rename to layouts/partials/layout/pagination.html diff --git a/layouts/partials/sidebar.html b/layouts/partials/layout/sidebar.html similarity index 100% rename from layouts/partials/sidebar.html rename to layouts/partials/layout/sidebar.html diff --git a/layouts/partials/navbar.html b/layouts/partials/navbar.html deleted file mode 100644 index 0a465be..0000000 --- a/layouts/partials/navbar.html +++ /dev/null @@ -1,4 +0,0 @@ - -