Creative Theme is a one page portfolio for creatives based on the original Bootstrap theme by David Miller. Noteworthy features of this Hugo theme are several content sections and a responsive portfolio grid with hover effects and full page portfolio item modals.
Inside the folder of your Hugo site run:
$ cd themes
$ git clone https://github.com/digitalcraftsman/hugo-creative-theme
For more information read the official setup guide of Hugo.
After installing the Creative Theme successfully it requires a 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
.
To use it, copy the config.toml
in the root folder of your Hugo site. Feel free to change strings as you like to customize your website.
The hero acts as an eye-catcher for your site. So consider to give him a nice background. You just need to replace the header.jpg
at static/img
with your own. But it's important that you use the same filename.
This section should show your capabilities and skills. You can change the services under at [params.services.list]
in the config.toml
.
All icons using Fontawesome's icon font version 5.3.1. Look at the website of Fontawesome for more icons. The icons are represented by their corresponding CSS class. Note that the class has two parts, the fa-icon-name and the far (regular), fas (solid), etc. style modifier. A skill is defined like this example:
[[params.services.list]]
icon = "far fa-gem"
title = "Sturdy Templates"
description = "Our templates are updated regularly so they don't break."
Beside the config file, there is in data
another subfolder called projects
which hosts the files that will appear as your projects in the portfolio section. Such a project file might look like this one written in YAML:
modalID: 1
title: Project 1
date: 2014-07-05
img: 1.jpg
client: Start Bootstrap
clientLink: "#"
category: Web Development
description: Lorem ipsum dolor sit amet, consectetur adipisicing elit. Vel enim aliquid dicta ullam in repellendus amet perspiciatis adipisci architecto obcaecati sit voluptas ipsam, deleniti neque placeat tenetur cum tempore velit.
Copy the folder projects
inside the data
folder in the root directory of your site. Let's make some changes to show your work.
Pay attention to the modalID
. It must be a unique integer and be incremented with each new project you want to add to the portfolio. Otherwise, the corresponding modal can't be rendered.
Furthermore, you can use Markdown syntax for URLs like here [text](//url.to/source)
in the description.
To give your projects an image, save those under static/img/portfolio
. The dimensions should be 650 x 350 pixels. Don't forget to set the filename under 'img' in your project.
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.
Did you found a bug or got an idea for a new feature? Feel free to use the issue tracker to let me know. Or make directly a pull request.
Please create a separate branch for your pull request.
This theme is released under the Apache License 2.0 For more information read the license.
Thanks to
- Steve Francia for creating Hugo and the awesome community around the project
- David Miller for creating the original theme