1
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:
2019-11-19 15:23:16 -05:00
committed by GitHub
parent d42a00247f
commit d6ad47c57b
30 changed files with 463 additions and 136 deletions

View File

@@ -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