Installation & Update
This document will guide you through installation of Hugo.
After installing hugo, see Hugo doc for installing theme in your hugo site.
Quick Demo
# Clone 'https://github.com/pandeybk/hugo-theme.git' to your directory
# cd goglides-product
# cd exampleSite
# hugo serve --themesDir ../..
# Then you can have quick look at the site at "http://localhost:1313/product"
Usage
# Create site and cd into it
hugo new site goglides-product-site && cd goglides-product-site
# cd themes
# Clone the Fresh theme
git clone https://github.com/pandeybk/hugo-theme.git
# Replace the code of default config.toml by config.toml example shown below
# Move sub-directories inside content folder of exampleSite to default content folder
# Move sub-directories inside static folder of exampleSite to default static folder
# Run the site locally
hugo server
# Open the site in your browser
open http://localhost:1313
Features
Site features
- Google Analytics
- Social sharing bar (facebook, twitter, github)
- Customizable navbar
- Mobile responsive- works great across desktops, tablets and mobiles
- Similar posts listing
- Authors listing
- Group post by tagname
Blogging features
- Attractive landing page with article/tag links everywhere
- Add featured images to posts
- Making sections for related articles (for example tutorials on a topic)
- Add code snippets
Future plans
- Search blog by keywords
- Support for facebook comments
Frontmatter example
---
title: {{ replace .Name "-" " " | title }}
photo_url: "path to image"
---
Customizing your page
There’s a wide variety of customizations that you can make to your Hugo Fresh landing page by modifying the config.toml
file that you downloaded. That file provides documentation for what the various config values represent.