2022-08-11 01:24:15 +03:00
|
|
|
module Site exposing (canonicalUrl, config)
|
|
|
|
|
|
|
|
import DataSource exposing (DataSource)
|
|
|
|
import Head
|
2022-08-25 21:56:03 +03:00
|
|
|
import Route
|
2022-08-11 01:24:15 +03:00
|
|
|
import SiteConfig exposing (SiteConfig)
|
|
|
|
|
|
|
|
|
|
|
|
type alias Data =
|
|
|
|
()
|
|
|
|
|
|
|
|
|
|
|
|
config : SiteConfig
|
|
|
|
config =
|
|
|
|
{ canonicalUrl = canonicalUrl
|
|
|
|
, head = head
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
canonicalUrl : String
|
|
|
|
canonicalUrl =
|
|
|
|
"https://elm-pages.com"
|
|
|
|
|
|
|
|
|
|
|
|
head : DataSource (List Head.Tag)
|
|
|
|
head =
|
2022-10-29 16:24:03 +03:00
|
|
|
[ Head.metaName "viewport" (Head.raw "width=device-width,initial-scale=1")
|
|
|
|
, Head.metaName "mobile-web-app-capable" (Head.raw "yes")
|
|
|
|
, Head.metaName "theme-color" (Head.raw "#ffffff")
|
|
|
|
, Head.metaName "apple-mobile-web-app-capable" (Head.raw "yes")
|
|
|
|
, Head.metaName "apple-mobile-web-app-status-bar-style" (Head.raw "black-translucent")
|
|
|
|
, Head.sitemapLink "/sitemap.xml"
|
2022-08-11 01:24:15 +03:00
|
|
|
]
|
|
|
|
|> DataSource.succeed
|