From 4d1afbc99a7408c799e29a3a303a0b7c47deff0c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?H=C3=A9ctor=20Ramos?= Date: Thu, 13 Oct 2016 15:31:29 -0700 Subject: [PATCH 1/3] Move footer to includes --- docs/_includes/footer.html | 40 ++++++++++++++++ docs/_includes/hero.html | 14 ++++++ docs/_includes/navigation.html | 23 ++++++++++ docs/_layouts/default.html | 83 ++-------------------------------- docs/_layouts/hero.html | 11 +++++ docs/community/support.md | 8 ++-- docs/index.md | 2 +- 7 files changed, 96 insertions(+), 85 deletions(-) create mode 100644 docs/_includes/footer.html create mode 100644 docs/_includes/hero.html create mode 100644 docs/_includes/navigation.html create mode 100644 docs/_layouts/hero.html diff --git a/docs/_includes/footer.html b/docs/_includes/footer.html new file mode 100644 index 00000000000..0f96b8aca69 --- /dev/null +++ b/docs/_includes/footer.html @@ -0,0 +1,40 @@ + diff --git a/docs/_includes/hero.html b/docs/_includes/hero.html new file mode 100644 index 00000000000..f85f753b90f --- /dev/null +++ b/docs/_includes/hero.html @@ -0,0 +1,14 @@ +
+
+
React
+
+ A JavaScript library for building user interfaces +
+ + +
+
diff --git a/docs/_includes/navigation.html b/docs/_includes/navigation.html new file mode 100644 index 00000000000..ddda178d971 --- /dev/null +++ b/docs/_includes/navigation.html @@ -0,0 +1,23 @@ + diff --git a/docs/_layouts/default.html b/docs/_layouts/default.html index 8bc98537b0f..2516518d610 100644 --- a/docs/_layouts/default.html +++ b/docs/_layouts/default.html @@ -53,91 +53,14 @@
- - - {% if page.id == 'home' %} -
-
-
React
-
- A JavaScript library for building user interfaces -
- - -
-
- {% endif %} + {% include navigation.html %} {{ content }} -
-
+