A flat bootstrap theme for the Hugo static website engine.
A functional sample of this theme can be seen in action via Own the Web.
Use an existing Hugo project or create a fresh one before trying to install this theme. Within the Hugo project, execute the following command from your Command Prompt (Windows) or Terminal (Mac and Linux):
git clone https://github.com/nraboy/hugo-phlat-theme
Run hugo --theme=hugo-phlat-theme to generate your site!
This theme relies heavily on a well crafted config.toml file. It will consist of both optional and required parameters.
These parameters are required for the theme to compile and function correctly.
baseurl = "https://www.example.com/"
languageCode = "en-us"
title = "Own the Web"
post = "/:year/:month/:slug/"
page = "/:slug/"
tag = "tags"
category = "categories"
keywords = ["default", "keywords", "if", "no", "front", "matter"]
description = "A description that will appear as a default if front matter does not exist"
These parameters are optional, but including them will make your static website look nicer and take advantage of what the theme offers.
These menu items appear in the top right of the screen or within the drop list on mobile or smaller screen devices.
name = "Home"
weight = 1
url = "/"
name = "Resources"
weight = 2
url = "/resources/"
name = "Contact"
weight = 3
url = "/contact/"
These menu items appear in the bottom left of the screen.