2016-10-31 21:04:15 +03:00
|
|
|
|
//- 💫 INCLUDES > DOCS PAGE TEMPLATE
|
|
|
|
|
|
2017-10-03 15:20:13 +03:00
|
|
|
|
- sidebar_content = (public[SECTION] ? public[SECTION]._data.sidebar : public._data[SECTION] ? public._data[SECTION].sidebar : false) || FOOTER
|
2016-10-31 21:04:15 +03:00
|
|
|
|
|
|
|
|
|
include _sidebar
|
|
|
|
|
|
|
|
|
|
main.o-main.o-main--sidebar.o-main--aside
|
|
|
|
|
article.o-content
|
2017-05-26 14:40:32 +03:00
|
|
|
|
+grid.o-no-block
|
2017-10-03 15:20:13 +03:00
|
|
|
|
+h(1).u-heading--title=title.replace("'", "’")
|
|
|
|
|
if tag
|
|
|
|
|
+tag=tag
|
|
|
|
|
if tag_new
|
|
|
|
|
+tag-new(tag_new)
|
|
|
|
|
|
|
|
|
|
if teaser
|
|
|
|
|
.u-heading__teaser.u-text-small.u-color-dark=teaser
|
|
|
|
|
else if IS_MODELS
|
|
|
|
|
.u-heading__teaser.u-text-small.u-color-dark
|
|
|
|
|
| Available statistical models for
|
|
|
|
|
| #[code=current.source] (#{LANGUAGES[current.source]}).
|
2017-05-26 14:40:32 +03:00
|
|
|
|
|
|
|
|
|
if source
|
2017-10-03 15:20:13 +03:00
|
|
|
|
.o-block.u-text-right
|
|
|
|
|
+button(gh("spacy", source), false, "secondary", "small").u-nowrap
|
|
|
|
|
| Source #[+icon("code", 14)]
|
2017-05-26 14:40:32 +03:00
|
|
|
|
|
2017-10-03 15:20:13 +03:00
|
|
|
|
if IS_MODELS
|
|
|
|
|
include _page_models
|
|
|
|
|
else
|
|
|
|
|
!=yield
|
2016-10-31 21:04:15 +03:00
|
|
|
|
|
|
|
|
|
+grid.o-content.u-text
|
|
|
|
|
+grid-col("half")
|
2017-10-03 15:20:13 +03:00
|
|
|
|
if !IS_MODELS
|
2016-10-31 21:04:15 +03:00
|
|
|
|
.o-inline-list
|
2017-10-03 15:20:13 +03:00
|
|
|
|
+button(gh("spacy", "website/" + current.path.join('/') + ".jade"), false, "secondary", "small")
|
|
|
|
|
| #[span.o-icon Suggest edits] #[+icon("code", 14)]
|
2016-10-31 21:04:15 +03:00
|
|
|
|
|
|
|
|
|
+grid-col("half").u-text-right
|
2017-10-03 15:20:13 +03:00
|
|
|
|
if next && public[SECTION]._data[next]
|
|
|
|
|
- data = public[SECTION]._data[next]
|
|
|
|
|
|
|
|
|
|
+grid("vcenter")
|
|
|
|
|
+a(next).u-text-small.u-flex-full
|
|
|
|
|
h4.u-text-label.u-color-dark Read next
|
|
|
|
|
| #{data.title}
|
|
|
|
|
|
|
|
|
|
+a(next).c-icon-button.c-icon-button--right(aria-hidden="true")
|
|
|
|
|
+icon("arrow-right", 24)
|
2016-10-31 21:04:15 +03:00
|
|
|
|
|
2017-01-01 14:46:01 +03:00
|
|
|
|
+gitter("spaCy chat")
|
|
|
|
|
|
2016-10-31 21:04:15 +03:00
|
|
|
|
include _footer
|