diff --git a/src/components/Post.js b/src/components/Post.js
index 68234af..b9b436b 100644
--- a/src/components/Post.js
+++ b/src/components/Post.js
@@ -11,9 +11,15 @@ export default class Post extends Component {
return (
-
{this.props.post.title}
-
{this.props.post.published}
-
)
diff --git a/src/static/stylesheets/main.scss b/src/static/stylesheets/main.scss
index e1d314f..d2a30ce 100644
--- a/src/static/stylesheets/main.scss
+++ b/src/static/stylesheets/main.scss
@@ -131,6 +131,10 @@ body {
padding: 0 5px 0 5px;
}
+.post-content {
+ clear: both;
+}
+
.post-summary, .post-content{
clear: both;
}
@@ -155,6 +159,6 @@ body {
box-sizing: border-box;
margin: 0 auto;
@media screen and (min-width: $break-large) {
- width: 80%;
+ width: 90%;
}
}
diff --git a/src/utils/api.js b/src/utils/api.js
index d7877e5..36ace24 100644
--- a/src/utils/api.js
+++ b/src/utils/api.js
@@ -22,6 +22,7 @@ api.get('/post/:postname', (req, res) => {
} else {
res.json({
published: post.published,
+ link: post.link,
title: post.title,
body: data,
});