Homepage: Re-use render_blog_post macro to display posts

No need to have custom code when we have a nice little macro for it
This commit is contained in:
2017-11-23 16:17:38 +01:00
parent f4e277f1d1
commit 8fc9529752
2 changed files with 16 additions and 35 deletions

View File

@@ -404,7 +404,7 @@
list-style: none
border-top: thin solid $color-background
> li
.blog_index-item
+container-box
display: flex
flex-direction: column
@@ -425,7 +425,7 @@
&:before
display: none
a.title
a.item-title
font-size: 1.6em
padding: 5px 15px
display: block
@@ -434,15 +434,6 @@
&:hover
color: $color-primary
a.blog-stream__thumbnail
display: block
position: relative
img
border-top-left-radius: 3px
border-top-right-radius: 3px
width: 100%
ul.meta
+list-meta
font-size: .9em
@@ -453,8 +444,7 @@
border-radius: 0
margin: 0
.description
.item-content
+node-details-description
padding: 10px 15px
@@ -478,6 +468,15 @@
&:before
left: -5px
.blog_index-header
display: block
position: relative
img
border-top-left-radius: 3px
border-top-right-radius: 3px
width: 100%
.more
text-align: center