The functions of this namespace are specifically responsible for generating data structures to be consumed by site page templates.
Of special note: this namespace and its sibling page
namespace are only
ever meant to be used in the cmr.search.site
namespace, particularly in
support of creating site routes for access in a browser.
Under no circumstances should cmr.search.site.data
be accessed from outside
this context; the data functions defined herein are specifically for use
in page templates, structured explicitly for their needs.
The functions of this namespace are specifically responsible for generating data structures to be consumed by site page templates. Of special note: this namespace and its sibling `page` namespace are only ever meant to be used in the `cmr.search.site` namespace, particularly in support of creating site routes for access in a browser. Under no circumstances should `cmr.search.site.data` be accessed from outside this context; the data functions defined herein are specifically for use in page templates, structured explicitly for their needs.
(base-dynamic system)
(base-dynamic system data)
Data that all pages have in common.
Note that dynamic pages need to provide the base-url.
Data that all pages have in common. Note that dynamic pages need to provide the base-url.
Data that all app pages have in common.
The :cli
variant uses a special constructed context (see
static.StaticContext
).
The default variant is the original, designed to work with the regular request context which contains the state of a running CMR.
Data that all app pages have in common. The `:cli` variant uses a special constructed context (see `static.StaticContext`). The default variant is the original, designed to work with the regular request context which contains the state of a running CMR.
(base-static system)
Data that all static pages have in common.
Note that static pages don't have any context.
Data that all static pages have in common. Note that static pages don't have any context.
Data for templates that display a link to Partner Guides. Clients should overrirde these keys in their own base static and base page maps if they need to use different values.
Data for templates that display a link to Partner Guides. Clients should overrirde these keys in their own base static and base page maps if they need to use different values.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close