[Docs] Show the name 'React' first in the homepage's <title> (#9582)
This commit is contained in:
parent
45dbcfb67d
commit
109d1c95e3
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue