Skip to content

Commit 79d186c

Browse files
committed
Fix for site title and minor content change
1 parent 339eacb commit 79d186c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

gatsby-wordpress-theme-libre/src/templates/post.amp.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ const PostTemplate = ({ data, location, pageContext }) => {
1515
<nav className="blog-title">
1616
<Link to="/">
1717
<span
18-
dangerouslySetInnerHTML={{ __html: data.wordpressPost.title }}
18+
dangerouslySetInnerHTML={{ __html: pageContext.title }}
1919
></span>
2020
</Link>
2121
</nav>
@@ -79,7 +79,7 @@ const PostTemplate = ({ data, location, pageContext }) => {
7979

8080
<div className="comment-button-container">
8181
<button>
82-
<a href={`${data.wordpressPost.slug}`}>Leave a comment</a>
82+
<a href={`${data.wordpressPost.slug}`}>View original article</a>
8383
</button>
8484
</div>
8585
</article>

0 commit comments

Comments
 (0)