diff options
author | salomon valverde <x84@sal.sh> | 2018-06-29 23:18:51 +0300 |
---|---|---|
committer | salomon valverde <x84@sal.sh> | 2018-06-29 23:18:51 +0300 |
commit | 74d0abfdf4236535dd6dab641d63dbf543513ebd (patch) | |
tree | ad673a764ff6f96425b4cf986c2de58a6de80183 | |
parent | 117bbccba05b1d411c621896f0d76097fcb958f5 (diff) |
finalize and cleanup of hugo theme port
-rw-r--r-- | config.toml | 107 | ||||
-rwxr-xr-x | layouts/index.html | 6 | ||||
-rw-r--r-- | layouts/partials/banner.html | 2 | ||||
-rw-r--r-- | layouts/partials/footer.html | 2 | ||||
-rw-r--r-- | layouts/partials/header.html | 2 | ||||
-rw-r--r-- | layouts/partials/hero.html | 12 | ||||
-rw-r--r-- | layouts/partials/services.html | 3 | ||||
-rw-r--r-- | layouts/partials/welcome.html | 10 |
8 files changed, 48 insertions, 96 deletions
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 <strong>Assembly</strong>, a free, fully standards-compliant CSS template designed by <a href="http://templated.co" rel="nofollow">TEMPLATED</a>. The photos in this template are from <a href="http://fotogrph.com/"> Fotogrph</a>. This free template is released under the <a href="http://templated.co/license">Creative Commons Attribution</a> 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 <strong>Assembly</strong>, a free, fully standards-compliant CSS template designed by <a href=\"http://templated.co\" rel=\"nofollow\">TEMPLATED</a>. The photos in this template are from <a href=\"http://fotogrph.com/\"> Fotogrph</a>. This free template is released under the <a href=\"http://templated.co/license\">Creative Commons Attribution</a> 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 <a href=\"http://fotogrph.com/\">Fotogrph</a> | Design by <a href=\"http://templated.co\" rel=\"nofollow\">TEMPLATED</a>." - 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 @@ <head> {{ partial "head.html" . }} </head> - </head> <body> - <div id="header-wrapper"> {{ partial "header.html" . }} {{ partial "banner.html" . }} - </div> - <div id="wrapper"> {{ if .Site.Params.services.enable }} {{ partial "services.html" . }} @@ -25,7 +21,7 @@ </div> <div id="welcome"> {{ if .Site.Params.welcome.enable }} - {{ partial "welcome.html" . }} + {{ partial "hero.html" . }} {{ end }} </div> {{ 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 @@ </div> {{ if .Site.Params.actions.enable }} <ul class="actions"> - <li><a href="#" class="button">{{ with .Site.Params.actions.register }}{{ . | markdownify }}{{ end }}</a></li> + <li><a href="#" class="button">{{ Site.Params.actions.register }}</a></li> </ul> {{ end }} </div> 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 @@ <div id="copyright" class="container"> - <p>© MobiClaim Inc,. All rights reserved. | Photos by <a href="http://fotogrph.com/">Fotogrph</a> | Design by <a href="http://templated.co" rel="nofollow">TEMPLATED</a>.</p> + <p>© Assembly Inc. All rights reserved. | Photos by <a href="http://fotogrph.com/">Fotogrph</a> | Design by <a href="http://templated.co" rel="nofollow">TEMPLATED</a>.</p> </div> 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 @@ <div id="header" class="container"> <div id="logo"> - <h1><a href="#">{{ with .Site.Params.title }}{{ . | markdownify }}{{ end }}</a></h1> + <h1><a href="#">{{ .Site.Title }}</a></h1> </div> {{ partial "menu.html" . }} </div> 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 @@ + <div class="container"> + {{ with .Site.Params.welcome }} + <div class="title"> + <h2>{{ .title }}</h2> + <span class="byline">{{ .subtitle }}</span> + </div> + <p>{{ .description }}</p> + <ul class="actions"> + <li><a href="#" class="button">{{ .button_text }}</a></li> + </ul> + {{end}} + </div> 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 @@ - <div id="four-column" class="container"> + <div id="three-column" class="container"> {{ with .Site.Params.services }} <div class="title"> <h2>{{ .title }}</h2> @@ -10,6 +10,5 @@ <a href="#" class="button button-alt">{{ .button_item_info }}</a> </div> {{ end }} - {{ end }} </div> 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 @@ - <div class="container"> - <div class="title"> - <h2>Fusce ultrices fringilla metus</h2> - <span class="byline">Donec leo, vivamus fermentum nibh in augue praesent a lacus at urna congue</span> - </div> - <p>This is <strong>Assembly</strong>, a free, fully standards-compliant CSS template designed by <a href="http://templated.co" rel="nofollow">TEMPLATED</a>. The photos in this template are from <a href="http://fotogrph.com/"> Fotogrph</a>. This free template is released under the <a href="http://templated.co/license">Creative Commons Attribution</a> 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 :) </p> - <ul class="actions"> - <li><a href="#" class="button">Etiam posuere</a></li> - </ul> - </div> |