Browse Source

[Docs] Show the name 'React' first in the homepage's <title> (#9582)

main
Joe Critchley 8 years ago
committed by Dan Abramov
parent
commit
5f10cd25c2
  1. 6
      _layouts/default.html

6
_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>

Loading…
Cancel
Save