Git Product home page Git Product logo

landing-page-hugo's Introduction

Landing Page Theme for Hugo

Hugo theme based on the landing-page theme for Jekyll

How to use

Background Images

Override the default intro and contact backgrounds by putting images in these files:

  • img/intro-bg.jpg
  • img/contact-bg.jpg

About Section

Create a markdown file named content/about/about.md

---
Title: About Us
Draft: false
---

WidgetCo is the world leader in widget production.

Services Section

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

Pricing Section

Pricing Section Screenshot 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).

Social Contact Buttons

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 button
  • icon parameter sets which Font Awesome icon will be displayed.

Google Analytics

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"

Custom CSS

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"]

Demo

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

Screenshot

screenshot

landing-page-hugo's People

Contributors

alanef avatar alexandergugel avatar bep avatar crakjie avatar iromeister avatar jmcvetta avatar junichim avatar masasam avatar matgnt avatar nibbler73 avatar tannera avatar whitphx avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

landing-page-hugo's Issues

exampleSite for Hugo Theme Site

See my preview build of the Hugo theme site:

http://185.52.0.94:1313/landing-page-hugo/

(the site may go up and down)

Compare that to

http://185.52.0.94:1313/artists/

With most themes I have tried to get it up and running with the generic Hugo Basic Example (https://github.com/spf13/HugoBasicExample).

But some themes are "too custom", so that isn't possible.

So I added support for a theme having a self-contained exampleSite. In the Artist example above, see:

https://github.com/digitalcraftsman/hugo-artists-theme/tree/master/exampleSite

For landing page I have just disabled the demo for now, but I'm happy to turn it on if we can get it either up and running with the basic example, or probably better, add an exampleSite to this repo.

Images in Services vertically centered.

First of all, thanks a lot for this theme! and please, apologize if this question doesn't belong here.

When each "post" has a few paragraphs, is it possible to get its image vertically centered when is placed at the side? Of course without breaking responsiveness.

What are the best practices in this case? Keep the text small for each post?

Question on using this theme with blog content

Hi there,

I really like this theme, but also have many blog articles I'd be bringing over from my existing Ghost blog. When I put those in the "post" folder, it throws ALL the articles on the front page - making it a large page to download! Am I able to have a "Blog" link at the top of the landing page navigation menu where users could click that and then read my blog entries, or is this theme not really designed for that?

Thanks,
Brian

Images missing max-width property

Hello!

I've stumbled upon the very same issue as the dim0627/hugo_theme_beg#19, only part of the image visible on the screenshot where whole should be:

image

Source code:

![Shinken simple distributed architecture](https://shinken.readthedocs.io/en/latest/_images/shinken-architecture.png)

blog integration ?

can you please integrate a blog and show the post teasers at the bottom ?
that would be awesome!

Impressum / Imprint / Legal Notice

Hi all,

in Germany every website must have an "Impressum". Best direct translation might be "imprint" and some international websites use the term "Legal Notice". Anyway, it must be there and I thought we could make this part of the template and it could look like this:
screen shot 2017-09-11 at 20 47 55

Since it's optional, I'd just load a content/imprint/imprint.md file in the footer.html.
By default I set the exampleSite imprint to "draft: true" to not show it and explain it in the Readme.

Is this something we could merge to master?
Thanks for your feedback.
Matthias

portfolio section

hi,
love your theme!
can you also add a portfolio section which can have multiple modal popups. kind of like "past work" or "previous portfolio"

thanks!

How can I change the navigation and "stay in touch" text?

Dear @crakjie,

Thank you so much for your wonderful landing page theme!

I am new to Hugo, currently trying to use it with your theme to create a simple conference website.

I followed the documentation but failed to make the following changes.

May you help me?

Thankfully,

-Robert

screenshot-localhost 1313 2016-09-15 14-55-21

Proposal: Customizable "Pricing" section

Hi all,

for my landing page I needed a "pricing" section, so I built it into the existing template and made it customizable with a data/pricing.json

Here is how it looks like at the moment:
screen shot 2017-09-04 at 10 12 11

The input example looks like this:

[
    {
        "name": "Free",
        "link": "signup/free",
        "linkText": "Signup",
        "features": [
            {
                "name": "Free-Feature 1",
                "description": "My feature 1 can do..."
            },
            {
                "name": "Free-Feature 2",
                "description": "with feature 2 you can..."
            },
            {
                "name": "",
                "description": ""
            }
        ]
    },

You can easily add new features or more pricing columns. (The description field is not used at the moment).

It's also resizable and should work on mobile (columns will be collapsed and shown under each other.

Does it make sense to integrate it into the template?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.