From 5f10cd25c24882bf7275aef314739766ade80fc2 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) --- _layouts/default.html | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/_layouts/default.html b/_layouts/default.html index 40c1a0a74..0dc4dd952 100644 --- a/_layouts/default.html +++ b/_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>