Skip to content

Instantly share code, notes, and snippets.

@netlooker
Created April 10, 2023 20:12
Show Gist options
  • Save netlooker/dad86a321324e8aadd9425386fa3dbf1 to your computer and use it in GitHub Desktop.
Save netlooker/dad86a321324e8aadd9425386fa3dbf1 to your computer and use it in GitHub Desktop.
Hugo Static Site Generator Configuration file for Terminal Theme
baseUrl: http://username.github.io/
languageCode: en-us
theme: terminal
publishDir: docs
paginate: 5
params:
# dir name of your blog content (default is `content/posts`)
contentTypeName: posts
# ["orange", "blue", "red", "green", "pink"]
themeColor: orange
# if you set this to 0, only submenu trigger will be visible
showMenuItems: 3
# show selector to switch language
showLanguageSelector: false
# set theme to full screen width
fullWidthTheme: false
# center theme with default width
centerTheme: false
# if your resource directory contains an image called `cover.(jpg|png|webp)`,
# then the file will be used as a cover automatically.
# With this option you don't have to put the `cover` param in a front-matter.
autoCover: true
# set post to show the last updated
# If you use git, you can set `enableGitInfo` to `true` and then post will automatically get the last updated
showLastUpdated: false
# set a custom favicon (default is a `themeColor` square)
# favicon: "favicon.ico"
# Provide a string as a prefix for the last update date. By default, it looks like this: 2020-xx-xx [Updated: 2020-xx-xx] :: Author
# updatedDatePrefix: "Updated"
# set all headings to their default size (depending on browser settings)
# oneHeadingSize: true # default
# whether to show a page's estimated reading time
# readingTime: false # default
# whether to show a table of contents
# can be overridden in a page's front-matter
# Toc: false # default
# set title for the table of contents
# can be overridden in a page's front-matter
# TocTitle: Table of Contents # default
languages:
en:
languageName: English
title: Title of the site
subtitle: Your site subtitle
keywords: ''
menuMore: Show more
readMore: Read more
readOtherPosts: Read other posts
params:
logo:
logoText: Text on the Logo
logoHomeLink: /
menu:
main:
- identifier: about
name: About
url: /about
- identifier: showcase
name: Showcase
url: /showcase
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment