From 74d0abfdf4236535dd6dab641d63dbf543513ebd Mon Sep 17 00:00:00 2001 From: salomon valverde Date: Fri, 29 Jun 2018 14:18:51 -0600 Subject: finalize and cleanup of hugo theme port --- config.toml | 107 ++++++++++++----------------------------- layouts/index.html | 6 +-- layouts/partials/banner.html | 2 +- layouts/partials/footer.html | 2 +- layouts/partials/header.html | 2 +- layouts/partials/hero.html | 12 +++++ layouts/partials/services.html | 3 +- layouts/partials/welcome.html | 10 ---- 8 files changed, 48 insertions(+), 96 deletions(-) create mode 100644 layouts/partials/hero.html delete mode 100644 layouts/partials/welcome.html diff --git a/config.toml b/config.toml index 0e4fef0..3fe48f5 100644 --- a/config.toml +++ b/config.toml @@ -1,106 +1,61 @@ # Main config file for icon theme. theme = "hugo-assembly" -baseURL = "https://mobiclaim.co" +baseURL = "https://example.co" languageCode = "en-US" -title = "MobiClaim!" +title = "Assembly" # Metadata [params] - author = "Salomon Valverde" - description = "The fastest most convenient way to reclaim your lost device." + author = "A Human Name" + description = "The description" + +# This is Assembly, a free, fully standards-compliant CSS template designed by TEMPLATED. The photos in this template are from Fotogrph. This free template is released under the Creative Commons Attribution license, so you're pretty much free to do whatever you want with it (even use it commercially) provided you give us credit for it. Have fun :) # banner section (from here on is for assembly theme) [params.banner] - title = "Reclaim your Mobile Device" - byline = "We are proactively trying to keep lost and found a thing of the past!" + title = "This is Assembly Template" + byline = "a free, CSS template ported over to a Hugo theme." [params.actions] # CTAs enable = true - register = "Dropoff my Phone" + register = "CTA Now!" # Navigation section [params.nav] home = "Welcome" - services = "What we Do" + services = "Services" team = "About Us" contact = "Contact Us" # Services section [params.services] enable = true - title = "Header title for services" - subtitle = "subtitle for services" - - # [params.services.images] - # enable = true + title = "Services" + subtitle = "Lorem ipsum dolor sit amet, consectetur adipisicing elit." - # [[params.services.images.list]] - # img = "images/img_3.jpg" - # [[params.services.images.list]] - # img = "images/img_2.jpg" - # [[params.services.images.list]] - # img = "images/img_1.jpg" - - # 4 column [[params.services.item]] - weight = 1 - description = "Lorem ipsum dolor sit amet, consectetur adipisicing elit." - button_item_info = "Learn more" + weight = "A" + description = "Lorem ipsum dolor sit amet, consectetur adipisicing elit. Lorem ipsum dolor sit amet, consectetur adipisicing elit." + button_item_info = "Safer" [[params.services.item]] - weight = 2 - description = "Lorem ipsum dolor sit amet, consectetur adipisicing elit." - button_item_info = "Locate Phone" + weight = "B" + description = "Lorem ipsum dolor sit amet, consectetur adipisicing elit.Lorem ipsum dolor sit amet, consectetur adipisicing elit. Lorem ipsum dolor sit amet, consectetur adipisicing elit." + button_item_info = "Faster" [[params.services.item]] - weight = 3 - description = "Possimus id dicta consequuntur veritatis, reiciendis at sint distinctio eligendi!" - button_item_info = "Delivery" + weight = "C" + description = "Possimus id dicta consequuntur veritatis, reiciendis at sint distinctio eligend Lorem ipsum dolor sit amet, consectetur adipisicing elit.Lorem ipsum dolor sit amet, consectetur adipisicing elit." + button_item_info = "Smarter" - [[params.services.item]] - weight = 4 - description = "Possimus id dicta consequuntur veritatis, voluptate sint distinctio eligendi!" - button_item_info = "Recover" - -# Team section -[params.team] +# Welcome section +[params.welcome] enable = true -# title = "About the Team" -# description = "Lorem ipsum dolor sit amet consectetur adipisicing elit. Eveniet nam itaque ipsam iste provident quo ipsam iste provident." - -# [[params.team.item]] -# name = "Jean Doe" -# position = "Chief legend" -# description = "Lorem ipsum dolor sit amet consectetur adipisicing elit. Eveniet nam itaque ipsam iste provident quo ipsam iste provident." -# img = "images/person1.jpg" -# facebook = "#" -# twitter = "#" -# dribbble = "#" -# instagram = "#" -# github = "#" -# linkedin = "#" - -# [[params.team.item]] -# name = "Alice Doe" -# position = "Chief overlord" -# description = "Lorem ipsum dolor sit amet consectetur adipisicing elit. Eveniet nam itaque ipsam iste provident quo ipsam iste provident." -# img = "images/person2.jpg" -# facebook = "#" -# twitter = "#" -# dribbble = "#" -# instagram = "#" -# github = "#" + title = "Welcome Assembly" + subtitle = "Lorem ipsum dolor sit amet, consectetur adipisicing elit." -# [[params.team.item]] -# name = "John Doe" -# position = "Chief haranguer" -# description = "Lorem ipsum dolor sit amet consectetur adipisicing elit. Eveniet nam itaque ipsam iste provident quo ipsam iste provident." -# img = "images/person3.jpg" -# facebook = "#" -# twitter = "#" -# dribbble = "#" -# instagram = "#" -# github = "#" + description = "This is Assembly, a free, fully standards-compliant CSS template designed by TEMPLATED. The photos in this template are from Fotogrph. This free template is released under the Creative Commons Attribution license, so you're pretty much free to do whatever you want with it (even use it commercially) provided you give us credit for it. Have fun :)" + button_text = "Call Now" # Contact section [params.contact] @@ -116,8 +71,8 @@ title = "MobiClaim!" # Footer section [params.footer] enable = true - copy = "© MobiClaim! All rights reserved. | Photos by Fotogrph | Design by TEMPLATED." - twitter = "#" - facebook = "#" - instagram = "#" + copy = "© MobiClaim! All rights reserved." + twitter = "mobiclaim" + facebook = "mobiclaim" + instagram = "mobiclaim" diff --git a/layouts/index.html b/layouts/index.html index 2d73191..64cb344 100755 --- a/layouts/index.html +++ b/layouts/index.html @@ -7,17 +7,13 @@ {{ partial "head.html" . }} - -
{{ partial "header.html" . }} {{ partial "banner.html" . }} -
-
{{ if .Site.Params.services.enable }} {{ partial "services.html" . }} @@ -25,7 +21,7 @@
{{ if .Site.Params.welcome.enable }} - {{ partial "welcome.html" . }} + {{ partial "hero.html" . }} {{ end }}
{{ if .Site.Params.footer.enable }} diff --git a/layouts/partials/banner.html b/layouts/partials/banner.html index 25cae05..f951653 100644 --- a/layouts/partials/banner.html +++ b/layouts/partials/banner.html @@ -5,7 +5,7 @@ {{ if .Site.Params.actions.enable }} {{ end }} diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html index 239a8c4..a86ccb5 100644 --- a/layouts/partials/footer.html +++ b/layouts/partials/footer.html @@ -1,3 +1,3 @@ diff --git a/layouts/partials/header.html b/layouts/partials/header.html index 4883844..cb527b9 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -1,6 +1,6 @@ diff --git a/layouts/partials/hero.html b/layouts/partials/hero.html new file mode 100644 index 0000000..ce4b3a0 --- /dev/null +++ b/layouts/partials/hero.html @@ -0,0 +1,12 @@ +
+ {{ with .Site.Params.welcome }} +
+

{{ .title }}

+ +
+

{{ .description }}

+ + {{end}} +
diff --git a/layouts/partials/services.html b/layouts/partials/services.html index b7b9078..216de58 100644 --- a/layouts/partials/services.html +++ b/layouts/partials/services.html @@ -1,4 +1,4 @@ -
+
{{ with .Site.Params.services }}

{{ .title }}

@@ -10,6 +10,5 @@ {{ .button_item_info }}
{{ end }} - {{ end }}
diff --git a/layouts/partials/welcome.html b/layouts/partials/welcome.html deleted file mode 100644 index a3d9eb2..0000000 --- a/layouts/partials/welcome.html +++ /dev/null @@ -1,10 +0,0 @@ -
-
-

Fusce ultrices fringilla metus

- -
-

This is Assembly, a free, fully standards-compliant CSS template designed by TEMPLATED. The photos in this template are from Fotogrph. This free template is released under the Creative Commons Attribution license, so you're pretty much free to do whatever you want with it (even use it commercially) provided you give us credit for it. Have fun :)

- -
-- cgit v1.2.3