<%- page.content %>
-
-
+
+ <% if (page.prev) { %>
+
+ <% } %>
+ <% if (page.next) { %>
+
+ <% } %>
+
<%- partial('valine') %>
diff --git a/source/css/common/article-post.styl b/source/css/common/article-post.styl
index 957291e..fb994d8 100644
--- a/source/css/common/article-post.styl
+++ b/source/css/common/article-post.styl
@@ -1,6 +1,6 @@
.article-container {
- .post-title {
+ .article-title {
h1 {
text-transform: uppercase;
font-size: 30px;
@@ -41,7 +41,7 @@
}
}
- .post-meta-info {
+ .article-meta-info {
margin-top: 20px;
@@ -106,9 +106,10 @@
}
- .post-content {
+ .article-content {
padding-bottom 10px
+ border-bottom 1px solid #f2f2f2
a {
text-decoration: none;
@@ -133,15 +134,16 @@
}
- .post-prev-next {
+ .article-nav {
- margin-bottom 60px
+ height 40px
+ margin 20px 0
- a.prev {
+ .article-prev {
float left
}
- a.next {
+ .article-next {
float right
}