<link rel=prefetch> doesn't have an as attr
This commit is contained in:
parent
177bdba331
commit
e37a222c95
1 changed files with 1 additions and 1 deletions
|
@ -62,7 +62,7 @@ make' root siteName prefix nsfw _dataDir dir
|
||||||
let updates = sort $ updatesFor nsfw info
|
let updates = sort $ updatesFor nsfw info
|
||||||
let updatesList = makeUpdates updates
|
let updatesList = makeUpdates updates
|
||||||
|
|
||||||
let makePrefetch img = [b|<link rel=prefetch as=image href=$path'>|]
|
let makePrefetch img = [b|<link rel=prefetch href=$path'>|]
|
||||||
where path' = bigFile img
|
where path' = bigFile img
|
||||||
let prefetches = map makePrefetch otherImages
|
let prefetches = map makePrefetch otherImages
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue