Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/salsysd/hugo-assembly.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsalomon valverde <x84@sal.sh>2018-06-26 16:32:32 +0300
committersalomon valverde <x84@sal.sh>2018-06-26 16:32:32 +0300
commit3d3a46ab2b1c7775dc2f8cb9b532692a4597e31e (patch)
tree5a346b93998dc58dfd094846f1ed25f151270cda
parent7c75403483c807c01bb9fe85348a2083de9c2479 (diff)
more hugo-fying
-rw-r--r--LICENSE2
-rw-r--r--config.toml313
-rw-r--r--layouts/partials/banner.html8
-rw-r--r--layouts/partials/header.html2
-rw-r--r--layouts/partials/menu.html16
-rw-r--r--layouts/partials/services.html23
6 files changed, 135 insertions, 229 deletions
diff --git a/LICENSE b/LICENSE
index 624b3f3..e14c739 100644
--- a/LICENSE
+++ b/LICENSE
@@ -1,6 +1,6 @@
The MIT License (MIT)
-Copyright (c) 2018 YOUR_NAME_HERE
+Copyright (c) 2018 SALOMON VALVERDE
Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in
diff --git a/config.toml b/config.toml
index 093b130..e1636c4 100644
--- a/config.toml
+++ b/config.toml
@@ -1,218 +1,117 @@
# Main config file for icon theme.
theme = "hugo-assembly"
baseURL = "https://www.example.com/"
-languageCode = "en-AU"
-title = "My Awesome Title"
+languageCode = "en-US"
+title = "My Hugo Config"
# Metadata
[params]
- author = "Your name"
+ author = "Salomon Valverde"
description = "Cool description"
# banner section (from here on is for assembly theme)
[params.banner]
- title = "Create awesome things for better web"
- byline = "Lovingly hand-crafted by the fine folks at [FreeHTML5.co](http://freehtml5.co/)"
-
-# # Navigation section
-# [params.nav]
-# mission = "Our Mission"
-# services = "Services"
-# team = "The Team"
-# contact = "Get In Touch"
-# # Include logo instead if HOME:
-# # logo = "path/to/logo"
-
-# # Mission section
-# [params.mission]
-# enable = true
-
-# [params.mission.images]
-# enable = true
-
-# [[params.mission.images.list]]
-# img = "images/img_3.jpg"
-# [[params.mission.images.list]]
-# img = "images/img_2.jpg"
-# [[params.mission.images.list]]
-# img = "images/img_1.jpg"
-# [[params.mission.images.list]]
-# img = "images/img_4.jpg"
-
-# [[params.mission.item]]
-# weight = 1
-# name = "marketing"
-# title = "Marketing"
-# subtitle = "Lorem ipsum dolor sit amet consectetur adipisicing elit. Ratione voluptate laborum sapiente officiis molestiaea."
-# description = "<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Repudiandae aliquid aperiam eveniet officia molestiae temporibus beatae dolores dignissimos aspernatur eius doloremque ad, eaque pariatur, repellendus illum, nostrum velit necessitatibus molestias.</p><ul class='checked'><li>Web Development</li><li>User Interface Experts</li><li>Pixel Perfect Design</li></ul><p><a href='#' class='btn btn-primary btn-outline fh5co-content-nav' data-nav-section='contact'>Get In Touch</a></p>"
-
-# [[params.mission.item]]
-# weight = 2
-# name = "analysis"
-# title = "Resources"
-# subtitle = "Quam quasi illum expedita dicta nemo fugit reprehenderit similique! Corporis praesentium magnam sequi."
-# description = "<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Nulla explicabo, molestiae eaque fugiat dolores est esse, doloremque placeat assumenda corrupti officia dolorum. Sunt saepe ut, explicabo consectetur, nostrum illo est.</p><ul class='checked'><li>Free HTML5 Templates</li><li>Free Bootstrap Templates</li><li>Free HTML5 Bootstrap Templates</li></ul><p><a href='#' class='btn btn-primary btn-outline fh5co-content-nav' data-nav-section='contact'>Get In Touch</a></p>"
-
-# [[params.mission.item]]
-# weight = 3
-# name = "strategy"
-# title = "Strategy"
-# subtitle = "Magnam iste obcaecati illo laboriosam amet. Dignissimos sed quis voluptatum corporis adipisci amet."
-# description = "<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Distinctio dolore illum expedita placeat debitis, dignissimos obcaecati et modi. Possimus id dicta consequuntur veritatis, reiciendis at expedita voluptate sint distinctio eligendi!</p><ul class='checked'><li>Web Development</li><li>User Interface Experts</li><li>Pixel Perfect Design</li></ul><p><a href='#' class='btn btn-primary btn-outline fh5co-content-nav' data-nav-section='contact'>Get In Touch</a></p>"
-
-# # Services section
-# [params.services]
-# enable = true
-# video = true
-# vidlink = "https://vimeo.com/channels/staffpicks/93951774"
-# title = "Our Services"
-# description = "Lorem ipsum dolor sit amet consectetur adipisicing elit. Eveniet nam itaque ipsam iste provident quo ipsam iste provident."
-
-# [[params.services.item]]
-# icon = "icon-present"
-# title = "Web Development"
-# description = "Lorem ipsum dolor sit amet consectetur adipisicing elit. Eveniet nam itaque ipsam iste provident quo ipsam iste provident."
-
-# [[params.services.item]]
-# icon = "icon-eye"
-# title = "Retina Ready"
-# description = "Lorem ipsum dolor sit amet consectetur adipisicing elit. Eveniet nam itaque ipsam iste provident quo ipsam iste provident."
-
-# [[params.services.item]]
-# icon = "icon-paper-plane"
-# title = "Light Speed"
-# description = "Lorem ipsum dolor sit amet consectetur adipisicing elit. Eveniet nam itaque ipsam iste provident quo ipsam iste provident."
-
-# [[params.services.item]]
-# icon = "icon-pencil"
-# title = "Copyrighting"
-# description = "Lorem ipsum dolor sit amet consectetur adipisicing elit. Eveniet nam itaque ipsam iste provident quo ipsam iste provident."
-
-# [[params.services.item]]
-# icon = "icon-rocket"
-# title = "Load Fast"
-# description = "Lorem ipsum dolor sit amet consectetur adipisicing elit. Eveniet nam itaque ipsam iste provident quo ipsam iste provident."
-
-# [[params.services.item]]
-# icon = "icon-support"
-# title = "Customer Support"
-# description = "Lorem ipsum dolor sit amet consectetur adipisicing elit. Eveniet nam itaque ipsam iste provident quo ipsam iste provident."
-
-# # Work section
-# [params.work]
-# enable = true
-
-# [[params.work.item]]
-# title = "Consectetur adipisicing"
-# subtitle = "Web Design"
-# img = "images/img_1.jpg"
-
-# [[params.work.item]]
-# title = "Consectetur adipisicing"
-# subtitle = "Web Design"
-# img = "images/img_2.jpg"
-
-# [[params.work.item]]
-# title = "Consectetur adipisicing"
-# subtitle = "Web Design"
-# img = "images/img_3.jpg"
-
-# [[params.work.item]]
-# title = "Consectetur adipisicing"
-# subtitle = "Web Design"
-# img = "images/img_2.jpg"
-
-# [[params.work.item]]
-# title = "Consectetur adipisicing"
-# subtitle = "Web Design"
-# img = "images/img_3.jpg"
-
-# [[params.work.item]]
-# title = "Consectetur adipisicing"
-# subtitle = "Web Design"
-# img = "images/img_2.jpg"
-
-# [[params.work.item]]
-# title = "Consectetur adipisicing"
-# subtitle = "Web Design"
-# img = "images/img_3.jpg"
-
-# [[params.work.item]]
-# title = "Consectetur adipisicing"
-# subtitle = "Web Design"
-# img = "images/img_4.jpg"
-
-# # Team section
-# [params.team]
-# enable = true
-# title = "Meet 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 = "#"
-
-# [[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 = "#"
-
-# # [[params.team.item]]
-# # name = "Jason 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 = "#"
-
-# # Contact section
-# [params.contact]
-# enable = true
-# title = "Get In Touch"
-# message = "Lorem ipsum dolor sit amet consectetur adipisicing elit. Eveniet nam itaque ipsam iste provident quo ipsam iste provident."
-# name_placeholder = "Your name"
-# email_placeholder = "Your email"
-# email_disclaimer = "We'll never share your email with anyone else."
-# message_placeholder = "Please enter a message."
-# button_text = "Submit"
-
-# # Footer section
-# # Note here that the copyright and attribution statement must remain as part of the license agreement. If you wish to remove this, please contact freehtml5 and pay for a professional license.
-# [params.footer]
-# enable = true
-# note = "<p><small>&copy; 2016 Free HTML5 Template. All Rights Reserved. <br> Designed by <a href='http://freehtml5.co/' target='_blank'>FreeHTML5.co</a> Demo Images: <a href='http://pexels.com/' target='_blank'>Pexels</a><br>Hugo port by <a href='https://github.com/SteveLane/' target='_blank'>SteveLane</a></small></p>"
-# github = "#"
-# twitter = "#"
-# facebook = "#"
-# vine = "#"
-# linkedin = "#"
-# instagram = "#"
+ title = "MobiClaim!"
+ byline = "Reclaim your devices faster and safer with us"
+
+[params.actions] # CTAs
+ enable = true
+ register = "Recover your Phone!"
+
+# Navigation section
+[params.nav]
+ home = "Welcome"
+ services = "What we Do"
+ about = "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
+
+ # [[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"
+
+ [[params.services.item]]
+ weight = 1
+ description = "Lorem ipsum dolor sit amet, consectetur adipisicing elit. Repudiandae aliquid aperiam eveniet officia molestiae temporibus beatae dolores dignissimos"
+ button_item_info = "Learn more"
+
+ [[params.services.item]]
+ weight = 2
+ description = "Lorem ipsum dolor sit amet, consectetur adipisicing elit. Nulla explicabo, molestiae eaque fugiat dolores est esse, doloremque placeat assumenda corrupti officia dolorum."
+ button_item_info = "Locate Phone"
+
+ [[params.services.item]]
+ weight = 3
+ description = "Possimus id dicta consequuntur veritatis, reiciendis at expedita voluptate sint distinctio eligendi!"
+ button_item_info = "My Bounty"
+
+# Team section
+[params.team]
+ 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 = "#"
+
+ [[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 = "#"
+
+# Contact section
+[params.contact]
+ enable = true
+ title = "Get In Touch"
+ message = "Lorem ipsum dolor sit amet consectetur adipisicing elit. Eveniet nam itaque ipsam iste provident quo ipsam iste provident."
+ name_placeholder = "Your name"
+ email_placeholder = "Your email"
+ email_disclaimer = "We'll never share your email with anyone else."
+ message_placeholder = "Please enter a message."
+ button_text = "Submit"
+
+# Footer section
+[params.footer]
+ enable = true
+ copy = "&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 = "#"
diff --git a/layouts/partials/banner.html b/layouts/partials/banner.html
index aadadee..25cae05 100644
--- a/layouts/partials/banner.html
+++ b/layouts/partials/banner.html
@@ -1,9 +1,11 @@
<div id="banner" class="container">
<div class="title">
- <h2>{{ with .Site.Params.hero.title }}{{ . | markdownify }}{{ end }}</h2>
- <span class="byline">{{ with .Site.Params.hero.byline }}{{ . | markdownify }}{{ end }}</span>
+ <h2>{{ with .Site.Params.banner.title }}{{ . | markdownify }}{{ end }}</h2>
+ <span class="byline">{{ with .Site.Params.banner.byline }}{{ . | markdownify }}{{ end }}</span>
</div>
+ {{ if .Site.Params.actions.enable }}
<ul class="actions">
- <li><a href="#" class="button">Reclaim!</a></li>
+ <li><a href="#" class="button">{{ with .Site.Params.actions.register }}{{ . | markdownify }}{{ end }}</a></li>
</ul>
+ {{ end }}
</div>
diff --git a/layouts/partials/header.html b/layouts/partials/header.html
index 820c149..cf7b773 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="#">MobiClaim!</a></h1>
+ <h1><a href="#">{{ with .Site.Params.banner.title }}{{ . | markdownify }}{{ end }}</a></h1>
</div>
{{ partial "menu.html" . }}
</div>
diff --git a/layouts/partials/menu.html b/layouts/partials/menu.html
index 098b11d..ed1789e 100644
--- a/layouts/partials/menu.html
+++ b/layouts/partials/menu.html
@@ -1,8 +1,16 @@
<div id="menu">
<ul>
- <li class="active"><a href="#" accesskey="1" title="">Welcome</a></li>
- <li><a href="#" accesskey="2" title="">What We Donec</a></li>
- <li><a href="#" accesskey="3" title="">About Us</a></li>
- <li><a href="#" accesskey="5" title="">Contact Us</a></li>
+ {{ if .Site.Params.home.enable }}
+ <li class="active"><a href="#" accesskey="1" title="">{{ with .Site.Params.nav.home }}{{ . | markdownify }}{{ end }}</a></li>
+ {{ end }}
+ {{ if .Site.Params.services.enable }}
+ <li><a href="#" accesskey="2" title="">{{ with .Site.Params.nav.services }}{{ . | markdownify }}{{ end }}</a></li>
+ {{ end }}
+ {{ if .Site.Params.team.enable }}
+ <li><a href="#" accesskey="3" title="">{{ with .Site.Params.nav.team }}{{ . | markdownify }}{{ end }}</a></li>
+ {{ end }}
+ {{ if .Site.Params.contact.enable }}
+ <li><a href="#" accesskey="4" title="">{{ with .Site.Params.nav.contact }}{{ . | markdownify }}{{ end }}</a></li>
+ {{ end }}
</ul>
</div>
diff --git a/layouts/partials/services.html b/layouts/partials/services.html
index 7615864..5f1e789 100644
--- a/layouts/partials/services.html
+++ b/layouts/partials/services.html
@@ -1,18 +1,15 @@
<div id="three-column" class="container">
+ {{ with .Site.Params.services }}
<div class="title">
- <h2>Feugiat lorem ipsum dolor sed veroeros</h2>
- <span class="byline">Donec leo, vivamus fermentum nibh in augue praesent a lacus at urna congue</span>
+ <h2>{{ with .title }}</h2>
+ <span class="byline">{{ with .subtitle }}</span>
</div>
- <div class="boxA">
- <p>Phasellus pellentesque, ante nec iaculis dapibus, eros justo auctor lectus, a lobortis lorem mauris quis nunc. Praesent pellentesque facilisis elit. Class aptent taciti sociosqu ad torquent per conubia nostra.</p>
- <a href="#" class="button button-alt">More Info</a>
- </div>
- <div class="boxB">
- <p>Etiam neque. Vivamus consequat lorem at nisl. Nullam wisi a sem semper eleifend. Donec mattis. Phasellus pellentesque, ante nec iaculis dapibus, eros justo auctor lectus, a lobortis lorem mauris quis nunc.</p>
- <a href="#" class="button button-alt">More Info</a>
- </div>
- <div class="boxC">
- <p> Aenean lectus lorem, imperdiet at, ultrices eget, ornare et, wisi. Pellentesque adipiscing purus. Phasellus pellentesque, ante nec iaculis dapibus, eros justo auctor lectus, a lobortis lorem mauris quis nunc.</p>
- <a href="#" class="button button-alt">More Info</a>
+ {{ range .item }}
+ <div class="box{{ .weight }}">
+ <p>{{ .description | markdownify }}</p>
+ <a href="#" class="button button-alt">{{ .button_item_info }}</a>
</div>
+ {{ end }}
+
+ {{ end }}
</div>