elm-pages-v3-beta/examples/docs/src/Site.elm

46 lines
979 B
Elm
Raw Normal View History

2020-09-13 17:19:09 +03:00
module Site exposing (canonicalUrl, config, tagline)
2020-05-24 01:31:56 +03:00
2020-05-24 03:03:28 +03:00
import Color
import Pages exposing (images, pages)
import Pages.Manifest as Manifest
import Pages.Manifest.Category
2020-05-24 01:31:56 +03:00
2020-09-13 17:19:09 +03:00
type alias SiteConfig =
{ canonicalUrl : String
, manifest : Manifest.Config Pages.PathKey
}
config : SiteConfig
config =
{ canonicalUrl = canonicalUrl
, manifest = manifest
}
2020-05-24 01:31:56 +03:00
canonicalUrl : String
canonicalUrl =
"https://elm-pages.com"
2020-05-24 03:03:28 +03:00
manifest : Manifest.Config Pages.PathKey
manifest =
{ backgroundColor = Just Color.white
, categories = [ Pages.Manifest.Category.education ]
, displayMode = Manifest.Standalone
, orientation = Manifest.Portrait
2020-09-13 17:19:09 +03:00
, description = tagline
2020-05-24 03:03:28 +03:00
, iarcRatingId = Nothing
, name = "elm-pages docs"
, themeColor = Just Color.white
, startUrl = pages.index
, shortName = Just "elm-pages"
, sourceIcon = images.iconPng
}
2020-05-24 18:36:40 +03:00
tagline : String
tagline =
"A statically typed site generator - elm-pages"