ShowFolio theme for Hugo
ShowFolio is a modern portfolio theme for your Hugo site.
- Responsive content
- Codepen Embeds
- Social links
- Dark mode
Get the theme
Minimum Hugo Version: 0.69.0
Run from the root of your Hugo site:
git clone https://github.com/apvarun/showfolio-hugo-theme.git themes/showfolio
Alternatively, you can include this repository as a git submodule. This makes it easier to update this theme if you have your Hugo site in git as well:
git submodule add https://github.com/apvarun/showfolio-hugo-theme.git themes/showfolio
Setting up the theme
- Install postcss-cli globally using
npm install -g postcss-cli
- Copy package.json to the root folder of your website and run
- Finally run
Preview the theme
ShowFolio theme ships with an fully configured example site. For a quick preview:
cd themes/showfolio/exampleSite/ hugo serve --themesDir ../..
http://localhost:1313/ in your browser to view the example site.
Configuring theme to a hugo website
package-lock.jsonto the root folder of your the website
npm installto install required packages for theme
npm i -g postcss-clito use PostCSS with Hugo build
theme = 'showfolio'in config.toml
npm startto start your local server
Make sure to commit the above changes to your repository.
When deploying to services like Netlify or Vercel, use the following command for building your site:
npm i && hugo -D --gc
The following explains how to add content to your Hugo site. You can find sample content in the
. ├── ... ├── blog # Blog Section │ ├── post1 # Post 1 │ ├── post2 # Post 2 │ └── _index └── ...
Configure your site
config.toml to the root folder of your Hugo site and change the fields as you like. Helpful comments are provided.
Menu in ShowFolio theme is pre-set to have blog and about pages.
config.toml to activate Hugo's internal Google Analytics template.
If you have a question, please open an issue for help and to help those who come after you. The more information you can provide, the better!
Contributions are welcome. For major changes, please open an issue first to discuss what you would like to change.
Licensed under MIT