mirror of
https://github.com/jakejarvis/jarv.is.git
synced 2025-07-19 04:55:30 -04:00
Google AMP support & switch to NPM builds (#14)
This commit is contained in:
13
config.toml
13
config.toml
@@ -37,12 +37,19 @@ disableAliases = true
|
||||
[outputs]
|
||||
home = ["HTML", "RSS", "MANIFEST", "REDIRECTS", "HEADERS"]
|
||||
section = ["HTML"]
|
||||
page = ["HTML", "AMP"]
|
||||
|
||||
[mediaTypes]
|
||||
[mediaTypes."text/netlify"]
|
||||
delimiter = ""
|
||||
delimiter = ""
|
||||
|
||||
[outputFormats]
|
||||
[outputFormats.AMP]
|
||||
mediaType = "text/html"
|
||||
basename = "amp"
|
||||
path = "."
|
||||
permalinkable = true
|
||||
isHTML = true
|
||||
[outputFormats.MANIFEST]
|
||||
mediaType = "application/json"
|
||||
baseName = "manifest"
|
||||
@@ -65,13 +72,13 @@ disableAliases = true
|
||||
# options for resampling filters:
|
||||
# https://github.com/disintegration/imaging#image-resizing
|
||||
resampleFilter = "Linear"
|
||||
quality = 100
|
||||
quality = 75
|
||||
|
||||
[blackfriday]
|
||||
hrefTargetBlank = true
|
||||
nofollowLinks = true
|
||||
noreferrerLinks = true
|
||||
noopenerLinks = true # requires custom fork w/ custom blackfriday: https://github.com/jakejarvis/hugo/tree/noopener
|
||||
# noopenerLinks = true # requires custom fork w/ custom blackfriday: https://github.com/jakejarvis/hugo/tree/noopener
|
||||
plainIDAnchors = true
|
||||
fractions = false
|
||||
|
||||
|
Reference in New Issue
Block a user