Hugo Themes
Hugo Icon
This is the Icon theme; ported to Hugo by Steve Lane
- Author: Steve Lane
- Minimum Hugo Version: 0.25.1
- GitHub Stars: 89
- Updated: 2019-03-05
- License: MIT
- Tags:
Agency
Company
Hero
Personal
Responsive
Note! This theme has not been updated for more than 2 years.
If you are maintainer of this theme, please verify that this theme works with a recent release of Hugo. Then add an appropriate Version Configuration to the theme'sconfig.toml
and then finally tag a new version.
Icon Theme
This theme is a Hugo port of the icon theme by https://freehtml5.co/. It is a single-page, responsive theme, with sections for describing your business mission, services, a gallery, your team and a contact form.
Installation
Follow the themes guide on the Hugo website. Briefly, within your Hugo folder:
$ cd themes
$ git clone https://github.com/SteveLane/hugo-icon.git
Getting started
Copy exampleSite/config.toml
into the root of your website folder, and edit it to your hearts content!
Add theme = "hugo-icon"
to this config, or when serving, use hugo server -t hugo-icon
.
Adding additional pages
If you’d like to add additional pages, say for a blog, place your content in /content/blog/
(with an _index.md
and additional markdown files for each entry).
To link to it from the main menu, add the following line to layouts/partials/nav.html
:
<a href="/blog" onclick="location.href='/blog';">Blog</a>
Credits
Credit for this theme goes fully to https://freehtml5.co/, which is licensed under a CC BY 3.0 license. If you use this Hugo port, please consider the terms of that license and make proper attribution to https://freehtml5.co/.
Changelog
A changelog for the initial port by @SteveLane is here; if you fork this theme and make changes, please list them.