mirror of https://github.com/explosion/spaCy.git
90 lines
2.9 KiB
Plaintext
90 lines
2.9 KiB
Plaintext
<<<<<<< HEAD
|
|
//- ----------------------------------
|
|
//- 💫 GLOBAL LAYOUT
|
|
//- ----------------------------------
|
|
=======
|
|
include _includes/_mixins
|
|
|
|
- var _section = current.path[0]
|
|
- var _site = current.source
|
|
|
|
- var is_blog = (_section == 'blog')
|
|
- var is_article = ( (_section == 'blog' && _site != 'index') || template == 'article')
|
|
- var has_asides = (is_article || (_section == 'docs' && asides != false) || asides)
|
|
>>>>>>> v1.0.0-rc1
|
|
|
|
include _includes/_mixins
|
|
|
|
doctype html
|
|
|
|
html(lang="en")
|
|
<<<<<<< HEAD
|
|
title=(current.path[0] == "index") ? SITENAME + " | " + SLOGAN : title + " | " + SITENAME
|
|
|
|
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)
|
|
meta(property="og:url" content="#{SITE_URL}/#{current.path.join('/')}")
|
|
meta(property="og:title" content=title)
|
|
meta(property="og:description" content=description)
|
|
meta(property="og:image" content="/assets/img/social.png")
|
|
|
|
meta(name="twitter:card" content="summary_large_image")
|
|
meta(name="twitter:site" content="@" + SOCIAL.twitter)
|
|
meta(name="twitter:title" content=title)
|
|
meta(name="twitter:description" content=description)
|
|
meta(name="twitter:image" content="/assets/img/social.jpg")
|
|
|
|
link(rel="shortcut icon" href="/assets/img/favicon.ico")
|
|
link(rel="icon" type="image/x-icon" href="/assets/img/favicon.ico")
|
|
link(href="/assets/css/style.css" rel="stylesheet")
|
|
|
|
body
|
|
include _includes/_navigation
|
|
|
|
if !landing
|
|
header.o-header.u-pattern.u-text-center
|
|
if current.path[1] == "tutorials"
|
|
h2.u-heading-1.u-text-shadow Tutorials
|
|
=======
|
|
!=partial("_includes/_head", { _section: _section })
|
|
link(href='/assets/css/' + ((is_blog) ? stylesheets.blog : stylesheets.default) + '.css' rel='stylesheet')
|
|
link(href='/' + feed rel='alternate' type='application/rss+xml' title='RSS')
|
|
|
|
body.body
|
|
!=partial('_includes/_nav', { _section: _section, _site: _site })
|
|
>>>>>>> v1.0.0-rc1
|
|
|
|
else
|
|
+h(1).u-text-shadow=title
|
|
|
|
if sidebar
|
|
include _includes/_sidebar
|
|
|
|
main.o-content(class="#{(sidebar) ? 'o-content--sidebar' : '' } #{((current.path[0] == 'docs' && asides != false) || asides) ? 'o-content--asides' : '' }")
|
|
if current.path[1] == "tutorials"
|
|
+h(1)=title
|
|
|
|
!=yield
|
|
|
|
<<<<<<< HEAD
|
|
else
|
|
!=yield
|
|
|
|
include _includes/_footer
|
|
=======
|
|
else
|
|
!=yield
|
|
|
|
!=partial('_includes/_footer')
|
|
|
|
each script in scripts
|
|
script(src='/assets/js/' + script + '.js', type='text/javascript')
|
|
>>>>>>> v1.0.0-rc1
|
|
|
|
include _includes/_scripts
|