From 109d1c95e3e3c777a2990ee8ca23f56bbe886440 Mon Sep 17 00:00:00 2001 From: Joe Critchley Date: Tue, 2 May 2017 14:22:24 +0100 Subject: [PATCH] [Docs] Show the name 'React' first in the homepage's (#9582) --- 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 40c1a0a74f..0dc4dd9522 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>