Skip to content

Instantly share code, notes, and snippets.

@iampeterbanjo
Created May 7, 2015 16:24
Show Gist options
  • Save iampeterbanjo/cdeee208166653567e23 to your computer and use it in GitHub Desktop.
Save iampeterbanjo/cdeee208166653567e23 to your computer and use it in GitHub Desktop.
gohugo.io sample config
archetypedir = "archetype"
# hostname (and path) to the root eg. http=//spf13.com/
baseurl = ""
# include content marked as draft
buildDrafts = false
# include content with datePublished in the future
buildFuture = false
canonifyUrls = false
# config file (default is path/config.yaml|json|toml)
config = "config.toml"
contentdir = "content"
dataDir = "data"
defaultExtension = "html"
defaultLayout = "post"
# filesystem path to write files to
destination = ""
disableLiveReload = false
# Do not build RSS files
disableRSS = false
# Do not build Sitemap file
disableSitemap = false
# edit new content with this editor, if provided
editor = ""
footnoteAnchorPrefix = ""
footnoteReturnLinkContents = ""
languageCode = "en-us"
layoutdir = "layouts"
# Enable Logging
log = false
# Log File path (if set, logging enabled automatically)
logFile = ""
# "yaml", "toml", "json"
metaDataFormat = "toml"
newContentEditor = ""
# Don't sync modification time of files
noTimes = false
paginate = 10
paginatePath = "page"
permalinks = ""
# Pluralize titles in lists using inflect
pluralizeListTitles = true
publishdir = "public"
# color-codes for highlighting derived from this style
pygmentsStyle = "monokai"
# true= use pygments-css or false= color-codes directly
pygmentsUseClasses = false
sitemap = ""
# filesystem path to read files relative from
source = ""
staticdir = "static"
# display memory and timing of different steps of the program
stepAnalysis = false
# theme to use (located in /themes/THEMENAME/)
theme = ""
title = "Go Hugo"
# if true, use /filename.html instead of /filename/
uglyUrls = false
# verbose output
verbose = false
# verbose logging
verboseLog = false
# watch filesystem for changes and recreate as needed
watch = false
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment