1
mirror of https://github.com/jakejarvis/jarv.is.git synced 2025-07-19 04:55:30 -04:00

automatically resize/optimize images via Hugo processing

This commit is contained in:
2019-10-27 12:44:29 -04:00
parent 40091d914a
commit abf99c0106
20 changed files with 112 additions and 85 deletions

View File

@@ -13,7 +13,8 @@ pygmentsCodeFences = true
enableRobotsTXT = true
# enableGitInfo = true # messed up sitemap.xml timestamps
# increase timeout for image processing
timeout = 60000
[outputs]
home = ["HTML", "RSS"]
@@ -22,6 +23,12 @@ enableRobotsTXT = true
[sitemap]
filename = "sitemap.xml"
[imaging]
# options for resampling filters:
# https://github.com/disintegration/imaging#image-resizing
resampleFilter = "Linear"
quality = 100
[blackfriday]
hrefTargetBlank = true
nofollowLinks = true