Compare commits

..

No commits in common. "575b3178119018fb14fae0091a1330f5da0a9ad9" and "0acd01170760f6da959b82e7ae5334f2fa6d65cd" have entirely different histories.

4 changed files with 6 additions and 21 deletions

View file

@ -13,13 +13,8 @@
</div>
{% endif %}
<div id="feed">
{% if paginated %}
{% set cycling = paginated | i18n_filter %}
{% else %}
{% set cycling = collections[cycling_tag] | i18n_filter %}
{% endif %}
{% set current_year = 0 %}
{% for post in cycling %}
{% for post in collections[cycling_tag] | i18n_filter %}
{% set post_year = post.date | date("yyyy") %}
{% if post_year != current_year %}
<h2 class="year-title">{{ post_year }}</h2>
@ -42,7 +37,6 @@
<p class="post-link"><a href="{{ post.url | locale_url_resolve }}">{{ "read-more" | i18n }}</a></p>
</div>
{% endfor %}
{# TODO: handle pagination buttons #}
<div class="end-of-feed">
<a href="https://www.youtube.com/watch?v=mB5YeQFw1S4" target="_blank">
<div id="tv"></div>

View file

@ -440,8 +440,7 @@ body {
#blog-sidebar {
display: flex;
flex-direction: column;
width: 280px;
margin: 25px 12px 0px 12px;
width: 240px;
p,
li {
@ -463,7 +462,7 @@ body {
}
.true-content {
padding: 6px ($sm - 8%) 6px $sm;
margin: 6px ($sm - 5%) 6px $sm;
}
.blog-avatar-wrapper {
@ -491,7 +490,7 @@ body {
#feed {
width: 100%;
margin: 12px;
padding: 0px 12% 0px 6%;
padding: 0px 12%;
.year-title {
font-size: $h4size;
text-align: center;

View file

@ -3,10 +3,6 @@ title: blog
layout: recent_feed
cycling_tag: posts
sidebar: blog
pagination:
data: collections.posts
size: 6
alias: paginated
flight:
img: /img/gifcities/mimi.gif
url: /

View file

@ -3,13 +3,9 @@ title: blog
layout: recent_feed
cycling_tag: posts
sidebar: blog
pagination:
data: collections.posts
size: 6
alias: paginated
flight:
img: /img/gifcities/mimi.gif
url: /
img: /img/gifcities/mimi.gif
url: /
---
# blog