From b4ccb485045fbba4018c3616f863fb696f021406 Mon Sep 17 00:00:00 2001 From: Joe Critchley Date: Tue, 2 May 2017 12:01:48 +0100 Subject: [PATCH] [Docs] Show the name 'React' first in the homepage's --- docs/_layouts/default.html | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/docs/_layouts/default.html b/docs/_layouts/default.html index 40c1a0a74f70..0dc4dd952248 100644 --- a/docs/_layouts/default.html +++ b/docs/_layouts/default.html @@ -7,7 +7,11 @@ {% assign sectionTitle = 'React' %} {% assign description = 'A JavaScript library for building user interfaces' %} {% endif %} -{% assign title = page.title | append: ' - ' | append: sectionTitle %} +{% if page.id == 'home' %} + {% assign title = sectionTitle | append: ' - ' | append: page.title %} +{% else %} + {% assign title = page.title | append: ' - ' | append: sectionTitle %} +{% endif %} <!DOCTYPE html> <!--[if IE]><![endif]--> <html>