A simple Hugo theme suitable for a portfolio, documentation library, or blog. See r-hugo-theme-demo.
- Responsive layout for desktops, tablets, mobile, and print
- A switch that controls light and dark modes
- Extensive, automatically generated site navigation that includes:
- Section navigation (in this section)
- Page navigation (on this page)
- Breadcrumbs
- Links to next and previous pages
- Related links based on keywords
- Easily customizable contact info in the footer
- Blogging capabilities:
- Categories
- Tags
- Estimated reading time
Set up a simple website that uses r-hug-theme with sample content.
- In the terminal, create a new site by entering
hugo new site {site_name}
Where:{site_name}
is the name of the site that you want to create. - Enter the Hugo site directory by entering
cd {site_name}
- Initialize a Git repository by entering
git init
- Add the theme by entering
git submodule add https://rafalkaron.github.io/r-hugo-theme
- Move the files and folders from the
example-site
orexample-site-multilingual
directory into the root folder of your site. - Run a local Hugo webserver by entering
hugo server
- Preview your website by opening http://localhost:1313/
You can further customize the site by editing the config.yaml
file. For more information, see the Hugo documentation.