2016-10-31 21:04:15 +03:00
|
|
|
//- 💫 INCLUDES > DOCS PAGE TEMPLATE
|
|
|
|
|
|
|
|
- sidebar_content = (SUBSECTION != "index") ? public.docs[SUBSECTION]._data.sidebar : public.docs._data.sidebar || FOOTER
|
|
|
|
|
|
|
|
include _sidebar
|
|
|
|
|
|
|
|
main.o-main.o-main--sidebar.o-main--aside
|
|
|
|
article.o-content
|
|
|
|
+h(1)=title
|
|
|
|
if tag
|
|
|
|
+tag=tag
|
|
|
|
|
|
|
|
!=yield
|
|
|
|
|
|
|
|
+grid.o-content.u-text
|
|
|
|
+grid-col("half")
|
|
|
|
if next && public.docs[SUBSECTION]._data[next]
|
|
|
|
- data = public.docs[SUBSECTION]._data[next]
|
|
|
|
|
|
|
|
.o-inline-list
|
2016-12-24 14:22:52 +03:00
|
|
|
span #[strong.u-text-label Read next:] #[+a(next).u-link=data.title]
|
2016-10-31 21:04:15 +03:00
|
|
|
|
|
|
|
+grid-col("half").u-text-right
|
|
|
|
.o-inline-list
|
|
|
|
+button(gh("spacy", "website/" + current.path.join('/') + ".jade"), false, "secondary").u-text-tag Suggest edits #[+icon("code", 14)]
|
|
|
|
|
|
|
|
include _footer
|