Browse Source

New test for blog

redesign
Anxhelo Lushka 7 years ago
committed by GitHub
parent
commit
5a7dc6858f
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 10
      blog/index.html

10
blog/index.html

@ -4,9 +4,10 @@ title: Blog
section_id: blog section_id: blog
--- ---
<div class="row">
<div class="large-12 columns">
{% for post in paginator.posts %} {% for post in paginator.posts %}
<div class="row">
<div class="large-12 columns">
{% assign mod = forloop.index | modulo: 2 %} {% assign mod = forloop.index | modulo: 2 %}
{% if mod == 1 %} {% if mod == 1 %}
<div class="large-1 blog centered-text columns"> <div class="large-1 blog centered-text columns">
@ -42,9 +43,10 @@ section_id: blog
</div> </div>
</div> </div>
<div class="row">
<div class="large-12 columns">
{% for post in paginator.posts %} {% for post in paginator.posts %}
<div class="row">
<div class="large-12 columns">
{% assign mod = forloop.index | modulo: 2 %} {% assign mod = forloop.index | modulo: 2 %}
{% if mod == 0 %} {% if mod == 0 %}
<div class="large-1 blog centered-text columns"> <div class="large-1 blog centered-text columns">

Loading…
Cancel
Save