Fixed template string

This commit is contained in:
Gianluca Esposito 2015-09-10 22:30:12 +02:00
parent 373eae7a53
commit 3f78235061

View file

@ -13,7 +13,7 @@ module.exports = React.createClass({
post = this.props.page.data; post = this.props.page.data;
return ( return (
<DocumentTitle title={`post.title | props.config.blogTitle`}> <DocumentTitle title={`${post.title} | ${this.props.config.blogTitle}`}>
<div className="markdown"> <div className="markdown">
<h1>{post.title}</h1> <h1>{post.title}</h1>
<div dangerouslySetInnerHTML={{__html: post.body}}/> <div dangerouslySetInnerHTML={{__html: post.body}}/>