updated configuration for use with hugo >0.90

Signed-off-by: Toshaan Bharvani <toshaan@vantosh.com>
newmemberlevels
Toshaan Bharvani 3 years ago
parent b729cd74c9
commit 1c81695625

@ -5,16 +5,19 @@ theme = "openpowerfoundation"
languageCode = "en-us" languageCode = "en-us"
dataDir = "data" dataDir = "data"
assetDir = "assets" assetDir = "assets"
PaginatePath = "blog" PaginatePath = ""
sectionPagesMenu = "main" sectionPagesMenu = "main"
buildDrafts = false buildDrafts = false
pygmentsUseClasses = true pygmentsUseClasses = true
enableGitInfo = true enableGitInfo = true
enableRobotsTXT = true enableRobotsTXT = true
disableHugoGeneratorInject = false
enableEmoji = true


[outputs] [outputs]
home = [ "HTML", "Calendar", "JSON" , "RSS" ] home = [ "HTML", "JSON" , "RSS" ]
specifications = [ "HTML", "JSON" ] specifications = [ "HTML", "JSON" ]
ready = [ "HTML", "JSON" ]
schedule = [ "HTML", "Calendar" , "RSS" ] schedule = [ "HTML", "Calendar" , "RSS" ]


[outputFormats] [outputFormats]
@ -22,6 +25,48 @@ enableRobotsTXT = true
mediatype = "application/rss" mediatype = "application/rss"
baseName = "feed" baseName = "feed"
suffix = "xml" suffix = "xml"
[outputFormats.JSON]
mediaType = "application/json"
baseName = "index"
isPlainText = true
notAlternative = true


[markup]
[markup.goldmark]
[markup.goldmark.renderer] [markup.goldmark.renderer]
hardWraps = true
unsafe = true unsafe = true
xHTML = true
[markup.highlight]
codeFences = true
lineNos = true
lineNumbersInTable = true
noClasses = false
[markup.tableOfContents]
endLevel = 4
ordered = false
startLevel = 2

[imaging]
resampleFilter = "MitchellNetravali"
quality = 100
anchor = "smart"
bgColor = "#ffffff"
[imaging.exif]
includeFields = ""
excludeFields = ".*"
disableDate = false
disableLatLong = false

[sitemap]
changefreq = "weekly"
filename = "sitemap.xml"
priority = 0.5

[taxonomies]
tag = "tags"

[minify]
[minify.tdewolff]
[minify.tdewolff.html]
keepWhitespace = false

Loading…
Cancel
Save