diff options
author | Soumith Chintala <soumith@fb.com> | 2015-01-16 11:45:12 +0300 |
---|---|---|
committer | Soumith Chintala <soumith@fb.com> | 2015-01-16 11:45:12 +0300 |
commit | aa69e306c5e37aed19eab89f867970592d065a1a (patch) | |
tree | 653671121e55a513c45ae5c3d8c4385cf31aa5ba /_layouts | |
parent | 6f8e47fa534e56b947c0a8b22fdf854e5eb74c3b (diff) |
new layout
Diffstat (limited to '_layouts')
-rw-r--r-- | _layouts/default.html | 27 | ||||
-rw-r--r-- | _layouts/docs.html | 33 | ||||
-rw-r--r-- | _layouts/post.html | 20 | ||||
-rw-r--r-- | _layouts/redirect.html | 6 |
4 files changed, 86 insertions, 0 deletions
diff --git a/_layouts/default.html b/_layouts/default.html new file mode 100644 index 0000000..f840ad3 --- /dev/null +++ b/_layouts/default.html @@ -0,0 +1,27 @@ +{% include header.html %} + +{% if page.hero %} + {% include hero.html %} +{% endif %} + +<section class='content'><div class='width'> + +<article> + +{{ content }} + +</article> + +</div></section> + + + +{% if page.hero %} + <header class='hero'><div class='width'> + <div class="buttons-unit"> + <a href="/docs/getting-started.html#_" class="button">Get Started</a> + </div> +{% include footer.html %} + </div></header> +{% endif %} + diff --git a/_layouts/docs.html b/_layouts/docs.html new file mode 100644 index 0000000..0b745f4 --- /dev/null +++ b/_layouts/docs.html @@ -0,0 +1,33 @@ +--- +sectionid: docs +--- + +{% include header.html %} + +<section class='content'><div class='width'> + +{% include nav_docs.html %} + +<article class='withtoc'> + <h1> + {{ page.title }} + <a class="edit-page-link" href="https://github.com/facebook/flow/tree/gh-pages/{{ page.path }}" target="_blank">Edit on GitHub</a> + </h1> + <p>{{ page.description }}</p> + + {{ content }} + + <div class="docs-prevnext"> + {% if page.prev %} + <a href="/docs/{{ page.prev }}#_">← Prev</a> + {% endif %} + {% if page.next %} + <a class="right" href="/docs/{{ page.next }}#_">Next →</a> + {% endif %} + </div> + + <a id="_"></a> +</article> + +</div></section> +{% include footer.html %} diff --git a/_layouts/post.html b/_layouts/post.html new file mode 100644 index 0000000..6b063aa --- /dev/null +++ b/_layouts/post.html @@ -0,0 +1,20 @@ +--- +sectionid: blog +--- + +{% include header.html %} + +<section class='content'><div class='width'> + +{% include nav_blog.html %} + +<article class='withtoc'> + <h1>{{ page.title }}</h1> + <p class="meta">{{ page.date | date: "%B %e, %Y" }} by {{ page.author }}</p> + + {{ content }} + +</article> + +</div></section> +{% include footer.html %} diff --git a/_layouts/redirect.html b/_layouts/redirect.html new file mode 100644 index 0000000..c24f817 --- /dev/null +++ b/_layouts/redirect.html @@ -0,0 +1,6 @@ +<html> +<head> + <meta http-equiv="refresh" content="0; {{ page.destination }}"> +</head> +<body></body> +</html> |