Move definition.

This commit is contained in:
Dillon Kearns 2021-04-13 13:05:33 -07:00
parent 2b63ac8459
commit 4e5c80ab91

View File

@ -12,6 +12,16 @@ import Pages.SiteConfig exposing (SiteConfig)
import Pages.StaticHttp as StaticHttp
config : SiteConfig StaticData
config =
{ staticData = staticData
, canonicalUrl = canonicalUrl
, manifest = manifest
, head = head
, generateFiles = generateFiles
}
-- TODO wire this in as part of the config
@ -35,16 +45,6 @@ type alias StaticData =
}
config : SiteConfig StaticData
config =
{ staticData = staticData
, canonicalUrl = canonicalUrl
, manifest = manifest
, head = head
, generateFiles = generateFiles
}
staticData : StaticHttp.Request StaticData
staticData =
StaticHttp.map StaticData