Skip to content

Commit f58f67e

Browse files
CziSKYanqur
authored andcommitted
Fixed an issue where the tagline was not displaying correctly in i18n.
1 parent f42734a commit f58f67e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{
22
"rowingWithTypes": "Start Rowing with Types! 🚣",
3-
"tagline": "一种具有健壮类型的函数式编程语言,可编译为高效可靠的 JavaScript"
3+
"tagline": "A robustly-typed functional language that compiles to efficient and reliable JavaScript."
44
}

src/pages/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ function HomepageHeader() {
1616
<header className={clsx('hero hero--primary', styles.heroBanner)}>
1717
<div className="container">
1818
<h1 className="hero__title">{siteConfig.title}</h1>
19-
<p className="hero__subtitle">{indexContents.tagline.title}</p>
19+
<p className="hero__subtitle">{indexContents.tagline}</p>
2020
<div className={styles.buttons}>
2121
<Link
2222
className="button button--secondary button--lg"

0 commit comments

Comments
 (0)