Simple Minimalist Hugo Theme
Goa is a clean, simple and minimalist theme for blogs and personal websites.
From the root of your blog:
mkdir -p themes cd themes git clone https://github.com/shenoybr/hugo-goa
Creating a post
To create a new page or post:
hugo new about.md
hugo new posts/first.md
You can now go ahead an edit the newly created file under the
content directory. Once you are finished editing, to have hugo generate the page, set
draft = false in the articles front matter.
The above example demonstrates how to create a pages and posts. Hugo automatically applies the list templates for a directory of pages/posts, which works well for blogs and posts. However, you may want at times want to override this behavior and create a standalone page (like an about page or projects page) or have more control of what content is listed from within the directory. In such cases, you can override the default behavior by placing an index.md file in the corresponding content directory.
hugo new projects/index.md
These settings are at the page level.
true. This allows you to disable page meta information from being displayed. For example, this setting is disabled here and enabled here.
true. Enables or disable comments. For example, this setting is disabled here and enabled here.
The provided config.toml describes all options and features that are supported. Configure it your way!
These are site wide configuration parameters that are used by this template.
baseurl: This is the root of your site.
false. Enables or Disable building drafts when hugo is run.
false. Prefix all relative URLs with your base URL. More Information.
languageCode: Used to set site localization preferences. eg.
contentdir: Where hugo can find your content. eg.
layoutdir: Where hugo can find your templates. eg.
publishdir: Where hugo generates the static site. eg.
author: Site author name. eg.
title: Site title name. eg.
theme: Your theme name should be set to
hugo-goaif using this theme.
Hugo Built-in Features
These are features that hugo provides and are used by this template.
disqusShortname: Your discusShortname if you want to enable comments on your posts.
googleAnalytics: Your google analytics id for tracking.
enableRobotsTXT: Enable or disable search engines from crawling your site.
These are settings that are specific to this theme.
author: Main author name. eg.
intro: Author introduction. This field supports markdown. eg.
Startup Guru Extraordinaire.
description: Author description. This field supports markdown. eg.
Now @Pied Piper. Previously @Hacker Hostel, @Bachmanity and @Aviato. <br/> \"What is F times 5? It's Fleventy-five.\".
authorimage: Location of author image under static/img directory. eg.
dateformat: Golang date format to be used on this site. eg.
Jan 2, 2006
Site Meta Settings
These settings are included in the site’s meta section.
description: User this field to describe your site to search engines. eg.
Simple minimalist theme.
keywords: Keywords that desribe your site. eg.
These settings to display your social accounts.
github: Your github username.
These settings for extra features that this site uses.
copyright: Add a copyright statement to the bottom of the theme. eg.
© 2016. Erlich Bachman. [Some Rights Reserved](http://creativecommons.org/licenses/by/3.0/)."
poweredby: Help promote this theme and give the authors credit. eg.
highlightjs: Use highlightJS to highlight code on your site. eg.
These settings for the main menu that is displayed on the home page.
name: Name of menu item. eg.
weight: Weight of this menu item. Higher items go to the bottom. eg.
url: Root URL for this section/page. eg.
[[menu.main]] name = "blog" weight = 100 url = "/blog/" [[menu.main]] name = "about" weight = 200 url = "/about/" [[menu.main]] name = "coderag" weight = 300 url = "/coderag/"
- Bootstrap 3
- Disqus support for commenting
- Built-in support for 404 pages, Disqus comments and Google Analytics.
- Search Github Issues to see if the bug has been previously filed.
- If it has been filed, +1 the post. This helps us in assessing impact and priortitizing the bug.
- If not previously filed, open a new Github Issue and describe in detail. Attach error traces and provide relavant details to help us solve it.
- For Hugo issues, search the Hugo Forum
- Search Github Issues to see if the feature has been previously requested.
- If it has been filed, +1 the post. This helps us in assessing popularity and priortitizing the feature.
- If not previously filed, open a new Github Issue and describe it in detail.
- Clone the repository, create the feature/bug branch.
- Make sure your code follows the style of the project.
- Test it thoroughly.
- Open a PR requesting for it to be merged.
- Describe the feature or issue your are solving in detail.
- Wait for its approval.
- Merge and Rejoice.
The theme’s design was inspired by many blogs and themes: