Hugo theme based on the landing-page theme for Jekyll
Override the default intro and contact backgrounds by putting images in these files:
img/intro-bg.jpg
img/contact-bg.jpg
Create a markdown file named content/about/about.md
---
Title: About Us
Draft: false
---
WidgetCo is the world leader in widget production.
Create a markdown file describing a service you offer in content/services/
- e.g. content/services/widgets.md
.
---
Title: Customized Widgets
Img: widgets.png
Category: Services
Draft: false
---
We specialize in bespoke widgets, built to your specification.
Then place a matching image in static/img/services/
- e.g. static/img/services/widgets.png
Find example data in exampleSite/data/pricing.json
To enable the pricing section, create content/pricing/pricing.md
with draft: false
(or copy it from the exampleSite directory).
Contact buttons will be automatically created if one or more
[[params.social]]
is configured in config.toml
:
baseurl = "http://yourdomain.com"
languageCode = "en-us"
title = "WidgetCo Inc"
[params]
description = "The best widgets in the world!"
[[params.social]]
title = "email"
icon = "envelope-o"
url = "mailto:[email protected]"
[[params.social]]
title = "twitter"
icon = "twitter"
url = "https://twitter.com/SBootstrap"
[[params.social]]
title = "github"
icon = "github"
url = "https://github.com/IronSummitMedia/startbootstrap"
[[params.social]]
title = "linkedin"
icon = "linkedin"
url = "http://linkedin.com/yourusername"
title
parameter sets the text to be displayed on the contact buttonicon
parameter sets which Font Awesome icon will be displayed.
Google Analytics support is automatically enabled if you set the
googleAnalytics
param in config.toml
to your Google Analytics tracking ID.
[params]
googleAnalytics = "UA-12345678-1"
Add custom CSS by specifying file(s) using custom_css
param e.g. files such as static/css/local.css
and static/css/media.css
[params]
custom_css = ["css/local.css","css/media.css"]
View this equivalent jekyll theme in action here
#Have a look, Have a try
git clone https://github.com/crakjie/landing-page-hugo.git
cd landing-page-hugo/exampleSite
hugo server -t landing-page-hugo