fix: headerNav should link to 'blog/', not 'blog' for consistency (#931)

fix: headerNav should link to 'blog/', not 'blog' for consistency
This commit is contained in:
Endilie Yacop Sucipto 2018-08-30 19:40:53 +08:00 committed by GitHub
parent 1a572757f1
commit 88904ab37b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -210,7 +210,7 @@ class HeaderNav extends React.Component {
href = link.href;
} else if (link.blog) {
// set link to blog url
href = `${this.props.baseUrl}blog`;
href = `${this.props.baseUrl}blog/`;
}
const itemClasses = classNames({
siteNavGroupActive: