This theme is very much based on the theme Highlights. It is a simple one page site originally created by HTML5UP. My addition is mostly accessibility and changing form provider to a totally free service.
All the information for creating the site is stored at the config.toml. This theme provides the following features
- contact form Simple Form (via getsimpleform.com)
- Google Analytics
- responsive
- fast loading (use minified build for best result)
Expect great performance if you use the optimization script for images -- resize-images-wd-theme.sh
Performance test from https://web.dev/measure/
Inside the folder of your Hugo site run:
$ cd themes
$ git clone https://github.com/pattespatte/hugo-wd-theme
For more information read the official setup guide of Hugo.
After installing the Hugo WD Theme there are just a few more steps to get your site running.
Take a look inside the exampleSite
folder of this theme. You'll find a file called config.toml
It's possible to change the background files for every section (about, services, ... ). To do this you could set every image in the config.toml
of your site. The files are stored at static/images/
.
This section should show your capabilities and skills. You can change this content at [[params.services]]
in the config.toml
.
All icons are part of Fontawesome's icon font. Look at the website of Fontawesome for more icons. The icons are represented by their corresponding CSS class of Fontawesome.
Since version 5 of Font Awesome the prefix changes, so you have to decide which style you wont to use.
The icontype could be:
- fab (Font Awesome Brands)
- fas or fa (Font Awesome Solid)
- far (Font Aweseome Regular)
- fal (Font Aweseome Light)
- fad (Font Aweseome Duotone)
far, fal and fad are only available for Pro
A skill is defined like this example:
[[params.services]]
icontype = "fas"
icon = "fa-camera-retro"
title = "Magna Etiam"
Since this page will be static, you can use getsimpleform.com as proxy to send the actual email. The service is free. Set it up by following the steps below:
- Create an api at getsimpleform.com
- Add your api under 'form_api' in the
config.toml
- Upload the generated site to your server
- Send a dummy email to yourself to confirm that you receive the form data
- That's all. Enjoy mailing!
In order to see your site in action, run Hugo's built-in local server.
$ hugo server
Now enter localhost:1313
in the address bar of your browser.
Have you found a bug or got an idea for features? Feel free to use the issue tracker to let me know.
The theme is licensed under the Creative Commons Attribution 3.0 Unported
Thanks to
- Manuel Schneider for porting this theme to Hugo
- HTML5UP for creating this theme
- Steve Francia for creating Hugo and the awesome community around the project.