diff options
Diffstat (limited to '_includes')
-rw-r--r-- | _includes/all-posts.liquid | 4 | ||||
-rw-r--r-- | _includes/post-list.liquid | 6 | ||||
-rw-r--r-- | _includes/similar-posts.liquid | 1 |
3 files changed, 8 insertions, 3 deletions
diff --git a/_includes/all-posts.liquid b/_includes/all-posts.liquid index ef05295..a681bfb 100644 --- a/_includes/all-posts.liquid +++ b/_includes/all-posts.liquid @@ -1,10 +1,10 @@ <aside class="menu"> - <p class="menu-label"> + <p class="menu-label has-text-centered"> All Posts </p> <ul class="menu-list"> - {% assign posts = collections.posts.pages | reverse %} + {% assign posts = collections.posts.pages %} {% for post in posts %} <li> <a href="/{{ post.permalink }}"> diff --git a/_includes/post-list.liquid b/_includes/post-list.liquid index e62fd63..542d902 100644 --- a/_includes/post-list.liquid +++ b/_includes/post-list.liquid @@ -1,5 +1,9 @@ <div class="columns is-centered is-multiline"> - {% assign posts = collections.posts.pages | reverse %} + <p class="menu-label"> + Recent Posts + </p> + + {% assign posts = collections.posts.pages %} {% for post in posts %} <div class="column is-full"> <div class="card"> diff --git a/_includes/similar-posts.liquid b/_includes/similar-posts.liquid index 0dddca2..9a7e33a 100644 --- a/_includes/similar-posts.liquid +++ b/_includes/similar-posts.liquid @@ -9,6 +9,7 @@ if post.categories and page.categories and page.title != post.title + and page.categories.first and post.categories contains page.categories.first %} <li> |