2016-10-03 18:19:13 +00:00
|
|
|
//- 💫 GLOBAL LAYOUT
|
2016-03-31 14:24:48 +00:00
|
|
|
|
2016-10-03 18:19:13 +00:00
|
|
|
include _includes/_mixins
|
2016-03-31 14:24:48 +00:00
|
|
|
|
2017-10-03 12:20:13 +00:00
|
|
|
- title = IS_MODELS ? LANGUAGES[current.source] || title : title
|
2018-04-29 00:06:46 +00:00
|
|
|
|
|
|
|
- PAGE_URL = getPageUrl()
|
|
|
|
- PAGE_TITLE = getPageTitle()
|
|
|
|
- PAGE_IMAGE = getPageImage()
|
2017-10-03 12:20:13 +00:00
|
|
|
|
2016-03-31 14:24:48 +00:00
|
|
|
doctype html
|
|
|
|
html(lang="en")
|
2017-12-16 12:48:19 +00:00
|
|
|
head
|
2018-04-29 00:06:46 +00:00
|
|
|
title=PAGE_TITLE
|
2017-12-16 12:48:19 +00:00
|
|
|
meta(charset="utf-8")
|
|
|
|
meta(name="viewport" content="width=device-width, initial-scale=1.0")
|
|
|
|
meta(name="referrer" content="always")
|
|
|
|
meta(name="description" content=description)
|
|
|
|
|
|
|
|
meta(property="og:type" content="website")
|
|
|
|
meta(property="og:site_name" content=sitename)
|
2018-04-29 00:06:46 +00:00
|
|
|
meta(property="og:url" content=PAGE_URL)
|
|
|
|
meta(property="og:title" content=PAGE_TITLE)
|
2017-12-16 12:48:19 +00:00
|
|
|
meta(property="og:description" content=description)
|
2018-04-29 00:06:46 +00:00
|
|
|
meta(property="og:image" content=PAGE_IMAGE)
|
2017-12-16 12:48:19 +00:00
|
|
|
|
|
|
|
meta(name="twitter:card" content="summary_large_image")
|
|
|
|
meta(name="twitter:site" content="@" + SOCIAL.twitter)
|
2018-04-29 00:06:46 +00:00
|
|
|
meta(name="twitter:title" content=PAGE_TITLE)
|
2017-12-16 12:48:19 +00:00
|
|
|
meta(name="twitter:description" content=description)
|
2018-04-29 00:06:46 +00:00
|
|
|
meta(name="twitter:image" content=PAGE_IMAGE)
|
2017-12-16 12:48:19 +00:00
|
|
|
|
|
|
|
link(rel="shortcut icon" href="/assets/img/favicon.ico")
|
|
|
|
link(rel="icon" type="image/x-icon" href="/assets/img/favicon.ico")
|
|
|
|
|
|
|
|
if SECTION == "api"
|
|
|
|
link(href="/assets/css/style_green.css?v#{V_CSS}" rel="stylesheet")
|
2018-04-29 00:06:46 +00:00
|
|
|
else if SECTION == "universe"
|
|
|
|
link(href="/assets/css/style_purple.css?v#{V_CSS}" rel="stylesheet")
|
2016-10-31 18:04:15 +00:00
|
|
|
else
|
2017-12-16 12:48:19 +00:00
|
|
|
link(href="/assets/css/style.css?v#{V_CSS}" rel="stylesheet")
|
2016-03-31 14:24:48 +00:00
|
|
|
|
2016-10-31 18:04:15 +00:00
|
|
|
body
|
2017-10-03 12:17:41 +00:00
|
|
|
include _includes/_svg
|
2016-10-31 18:04:15 +00:00
|
|
|
include _includes/_navigation
|
2016-03-31 14:24:48 +00:00
|
|
|
|
2017-10-03 12:20:13 +00:00
|
|
|
if !landing
|
2016-10-31 18:04:15 +00:00
|
|
|
include _includes/_page-docs
|
2016-03-31 14:24:48 +00:00
|
|
|
|
2018-04-29 00:06:46 +00:00
|
|
|
else if SECTION == "universe"
|
|
|
|
!=yield
|
|
|
|
|
2016-10-03 18:19:13 +00:00
|
|
|
else
|
2016-10-31 18:04:15 +00:00
|
|
|
main!=yield
|
|
|
|
include _includes/_footer
|
|
|
|
|
2017-01-01 11:45:37 +00:00
|
|
|
include _includes/_scripts
|