Aurora is an elegant and minimalistic theme for the Hugo static website engine, designed to offer a delightful reading and writing experience. Built on top of the lightweight Skeleton CSS framework, Aurora provides a responsive layout, a simple grid system, and custom styles that define its unique look.
To install Aurora as a traditional theme:
-
Inside your Hugo site directory, run:
mkdir -p themes cd themes git clone https://github.com/coryshaw/hugo-aurora-theme.git aurora
-
Add
theme = "aurora"
to your site'sconfig.toml
.
For more details, refer to the official Hugo setup guide.
To use Aurora as a Hugo Module:
-
Initialize your Hugo site as a Hugo Module (if not already done):
hugo mod init github.com/youruser/yourproject
-
Add Aurora to your
config.toml
:[module] [[module.imports]] path = "github.com/coryshaw/hugo-aurora-theme"
-
Run
hugo mod get -u
to get the module andhugo server
to start your site.
- Minimalistic design focusing on content
- Mobile and tablet responsive
- Google Analytics integration
- No JavaScript for faster loading times
- Copyright in footer
- Sub-footer template for additional content
- Dynamically generated primary navigation
- Translatable strings
- Customizable background images
- Photo credits for images
After successfully installing the Aurora Theme, follow these steps to customize your site:
Refer to the exampleSite
folder for a sample config.toml
. Copy this file to the root of your Hugo site and adjust the settings to suit your preferences.
baseurl = "http://example.com/"
languageCode = "en-us"
title = "My Awesome Site"
theme = "aurora"
[taxonomies]
tag = "tags"
[params]
# Footer copyright text
copyright = "My Name"
# Google Analytics tracking ID
googleanalyticsid = "UA-00000-00"
# Custom hero background image and photo credit for the home page
[params.home]
backgroundimage = "/images/home_bg.jpg"
photocredit = "Photographer Name"
# Primary navigation links
[[params.navigation]]
name = "Home"
path = "/"
[[params.navigation]]
name = "About"
path = "/about/"
[[params.navigation]]
name = "Posts"
path = "/posts/"
# Customize or translate theme strings
[params.strings]
copyright = "Copyright"
photocredit = "Photo Credit"
tags = "Tags"
published = "Published"
updated = "Updated"
Customize the hero background for each page by specifying an image URL and photo credit in the page's front matter:
bgimgurl = "/images/page_bg.jpg"
photocredit = "Photographer Name"
Found a bug or have a feature request? Use the issue tracker to let me know, or submit a pull request.
This theme is released under the MIT license. For more information read the License.
Install the less-watch-compiler globally:
npm install -g less less-watch-compiler
Run the compiler in the theme directory:
less-watch-compiler
Make changes to less files and it will be auto compiled