The hugo-porto
is a personal portfolio theme for Hugo. It features a minimalist design that focuses on showcasing your
projects and achievements. This theme is perfect for developers, designers, and creatives who want to create a simple
yet powerful online portfolio.
The theme is under active development, and new features are being added regularly. If you have any suggestions or feature requests, please open an issue on the GitHub repository. I would love to hear your feedback and ideas for improving the theme.
I'm constantly working on improving and expanding the features of this theme. If you find that a feature you need is missing, please feel free to contact me. I'm open to dialogue and would be happy to discuss potential additions to the theme.
Features planned to implement in the nearest future:
If you have any suggestions or feature requests, please open an issue on the GitHub repository. I would love to hear your feedback and ideas for improving the theme.
For a live demonstration of the theme in action, please visit the demo website at
https://hugo-porto.netlify.app/. This demo site showcases all the features and design
elements that the hugo-porto
theme has to offer, providing a comprehensive overview of its capabilities.
You can find the source code for the demo website at https://github.com/hugo-porto/web.
In addition, you can find a real-world example of the theme in action on my personal website at https://andrew.molyuk.com. The source code for my website is available at https://github.com/andrewmolyuk/andrew.molyuk.com
The simplest method to use this theme is by forking the web sample repository. Afterwards, adjust the configurations to suit your requirements.
If you want to install the theme from scratch using Hugo modules, follow these steps:
First, ensure that you have Hugo installed on your system. You need version 0.116.0 or higher.
Create a new Hugo site if you haven't already. You can do this by running the following command in your terminal:
hugo new site mysite
Replace mysite
with the name of your site.
Navigate to the root directory of your new site:
cd mysite
Initialize Hugo modules:
hugo mod init github.com/<your username>/<your repo name>
Add the hugo-porto
theme as a Hugo module in your configuration file:
[module]
[[module.imports]]
path = "github.com/hugo-porto/theme"
Download latest version of the theme:
hugo mod tidy
Finally, start your Hugo server:
hugo server
You should now be able to see your new site at http://localhost:1313
.
Now you have to add configuration files to your data folder according your needs. You can see example files at https://github.com/hugo-porto/web/tree/main/data.
The hugo-porto
theme is highly customizable and allows you to configure various aspects of your website.
You can find the configuration files in the data
folder of the sample repository. You can adjust any setting to suit
your needs. So here is a list and the customizable content of the of configuration data files:
data/home.toml
This file define the order of the sections on the home page. You can add or remove sections and change the order of the sections.
[[section]]
id = "hero"
enabled = true
weight = 1
...
[[section]]
id = "testimonials"
enabled = true
weight = 6
Each section has three properties:
id
is the unique identifier of the section and should match the filename of the section template. For example, the
hero
section id corresponds to the data/sections/hero.toml
configuration file.enabled
is a boolean value to enable or disable the section.weight
is the order of the section.data/footer.toml
This file contains the footer configuration. You can add your social media links and other information here.
[[social]]
type = "github"
url = "add your GitHub profile link here"
The social
section contains the following properties:
type
is the name of the social media platform. The following values allowed:
facebook
linkedin
github
instagram
youtube
dribbble
behance
medium
telegram
whatsapp
id
: is the profile id or username on the social media platform.
data/navbar.toml
This file contains the navigation bar configuration. You can add or remove menu items here.
[[menu]]
text = "Home"
description = "Welcome to my personal website"
link = "/"
target = "_self"
The menu
section contains the following properties:
text
is the text of the menu item.description
is the description of the menu item.link
is the URL of the menu item.target
is the target attribute of the menu item.Additionally, you can configure the following properties in the navbar.toml
file:
title = "#andrewmolyuk"
logo = "img/logo.svg"
[button]
enabled = true
text = "Get my CV"
link = "files/Andrew Molyuk.pdf"
target = "_blank"
Where:
title
is the title of the website.logo
is the path to the logo image.button
is the configuration of the button in the navigation bar.
enabled
is a boolean value to enable or disable the button.text
is the text of the button.link
is the URL of the button.target
is the target attribute of the button.If you want to see a real-world example of the theme in action, you can check out the following websites:
hugo-porto
theme.If you are using the hugo-porto
theme on your website and would like to be featured here, please let me know. I would
be happy to include your website in the list of real-world examples.
If you have any suggestions, feature requests, or bug reports, please open an issue on the GitHub repository. I am open to contributions and would be happy to discuss potential improvements to the theme.
If you would like to contribute to the theme, please fork the repository and submit a pull request. I will review any pull requests and merge them if they provide value to the theme.
I appreciate any contributions and would like to thank you in advance for your support.
This theme is distributed under the MIT License. See LICENSE for more information.