From 005b1e452602296641ca85b3ba89437f9d984546 Mon Sep 17 00:00:00 2001 From: Pierre Date: Thu, 10 May 2018 11:16:54 +0200 Subject: [PATCH] Gave a new structure to project --- _includes/{ => common}/contact.html | 0 _includes/{ => common}/head.html | 0 _includes/{ => common}/nav.html | 0 _includes/{ => common}/scripts.html | 0 _includes/{ => home}/call-to-action.html | 0 _includes/{ => home}/donate-feature.html | 0 _includes/{ => home}/feature.html | 0 _includes/{ => home}/header.html | 0 _includes/{ => home}/quote.html | 0 _includes/{ => home}/services.html | 0 _layouts/default.html | 8 +++--- _layouts/front.html | 35 ------------------------ _layouts/home.html | 35 ++++++++++++++++++++++++ index.html | 2 +- 14 files changed, 40 insertions(+), 40 deletions(-) rename _includes/{ => common}/contact.html (100%) rename _includes/{ => common}/head.html (100%) rename _includes/{ => common}/nav.html (100%) rename _includes/{ => common}/scripts.html (100%) rename _includes/{ => home}/call-to-action.html (100%) rename _includes/{ => home}/donate-feature.html (100%) rename _includes/{ => home}/feature.html (100%) rename _includes/{ => home}/header.html (100%) rename _includes/{ => home}/quote.html (100%) rename _includes/{ => home}/services.html (100%) delete mode 100755 _layouts/front.html create mode 100755 _layouts/home.html diff --git a/_includes/contact.html b/_includes/common/contact.html similarity index 100% rename from _includes/contact.html rename to _includes/common/contact.html diff --git a/_includes/head.html b/_includes/common/head.html similarity index 100% rename from _includes/head.html rename to _includes/common/head.html diff --git a/_includes/nav.html b/_includes/common/nav.html similarity index 100% rename from _includes/nav.html rename to _includes/common/nav.html diff --git a/_includes/scripts.html b/_includes/common/scripts.html similarity index 100% rename from _includes/scripts.html rename to _includes/common/scripts.html diff --git a/_includes/call-to-action.html b/_includes/home/call-to-action.html similarity index 100% rename from _includes/call-to-action.html rename to _includes/home/call-to-action.html diff --git a/_includes/donate-feature.html b/_includes/home/donate-feature.html similarity index 100% rename from _includes/donate-feature.html rename to _includes/home/donate-feature.html diff --git a/_includes/feature.html b/_includes/home/feature.html similarity index 100% rename from _includes/feature.html rename to _includes/home/feature.html diff --git a/_includes/header.html b/_includes/home/header.html similarity index 100% rename from _includes/header.html rename to _includes/home/header.html diff --git a/_includes/quote.html b/_includes/home/quote.html similarity index 100% rename from _includes/quote.html rename to _includes/home/quote.html diff --git a/_includes/services.html b/_includes/home/services.html similarity index 100% rename from _includes/services.html rename to _includes/home/services.html diff --git a/_layouts/default.html b/_layouts/default.html index ad7b3e2..8a47a2e 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -1,15 +1,15 @@ -{% include head.html %} +{% include common/head.html %} - {% include nav.html %} + {% include common/nav.html %} {{ content }} - {% include contact.html %} - {% include scripts.html %} + {% include common/contact.html %} + {% include common/scripts.html %} diff --git a/_layouts/front.html b/_layouts/front.html deleted file mode 100755 index 70c11c5..0000000 --- a/_layouts/front.html +++ /dev/null @@ -1,35 +0,0 @@ - - - -{% include head.html %} - - - - {% include nav.html %} - - - {% include header.html %} - - - {% include call-to-action.html %} - - - {% include services.html %} - - - {% include quote.html %} - - - {% include feature.html %} - - - {% include donate-feature.html %} - - - {% include contact.html %} - - - {% include scripts.html %} - - - diff --git a/_layouts/home.html b/_layouts/home.html new file mode 100755 index 0000000..7074ce2 --- /dev/null +++ b/_layouts/home.html @@ -0,0 +1,35 @@ + + + +{% include common/head.html %} + + + + {% include common/nav.html %} + + + {% include home/header.html %} + + + {% include home/services.html %} + + + {% include home/call-to-action.html %} + + + {% include home/feature.html %} + + + {% include home/quote.html %} + + + {% include home/donate-feature.html %} + + + {% include common/contact.html %} + + + {% include common/scripts.html %} + + + diff --git a/index.html b/index.html index b9b2499..e4d427d 100755 --- a/index.html +++ b/index.html @@ -1,3 +1,3 @@ --- -layout: front +layout: home ---