Add related content section to single page (#77)
Set `relatedPosts` to `true` in the config to enable this.
This commit is contained in:
parent
e333628a26
commit
6cee5adc69
8 changed files with 43 additions and 2 deletions
|
@ -687,6 +687,25 @@ hr.post-end {
|
|||
}
|
||||
}
|
||||
|
||||
.related-posts {
|
||||
padding: .8em;
|
||||
margin-top: 1.5em;
|
||||
font-size: .8rem;
|
||||
border: 3px dashed rgba(255, 255, 255, .2);
|
||||
border-radius: 5px;
|
||||
|
||||
h2{
|
||||
margin: 0;
|
||||
line-height: normal;
|
||||
}
|
||||
|
||||
ul {
|
||||
margin-top: .5em;
|
||||
margin-bottom: 0;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// Media Queries
|
||||
//
|
||||
@media (min-width: 800px) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue