Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/nextcloud.com.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJos Poortvliet <jospoortvliet@gmail.com>2019-09-18 13:10:02 +0300
committerJos Poortvliet <jospoortvliet@gmail.com>2019-09-18 13:10:02 +0300
commitf2192208a7858bb9055accb60fba04942ae38363 (patch)
treeaa81a4a8951324df902ee9ae5df9c0734a26e3a1 /page-blog.php
parentac0e169e1045d9c3bc67b056fceb22ac4605b0e2 (diff)
fix blog
Signed-off-by: Jos Poortvliet <jospoortvliet@gmail.com>
Diffstat (limited to 'page-blog.php')
-rw-r--r--page-blog.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/page-blog.php b/page-blog.php
index aa77926a..9a7444d9 100644
--- a/page-blog.php
+++ b/page-blog.php
@@ -1,4 +1,4 @@
-<!-- This is the postgrid page -->
+<!-- This is the posts page. or maybe not. Check also index.php! -->
<head>
<link href="<?php echo get_template_directory_uri(); ?>/assets/css/pages/blogroll.css?v=3" rel="stylesheet">
<!--<script>
@@ -34,11 +34,11 @@
<?php $i = 1; ?>
<?php while (have_posts()) : the_post(); ?>
<?php if ($i % 3 == 0) { ?> <!-- for every three posts we have to put in a row... -->
- <div class="row">
<div class="col-md-4">
<?php get_template_part('templates/content', get_post_format()); ?>
</div>
</div>
+ <div class="row">
<?php } else { ?> <!-- no row needed... -->
<div class="col-md-4">
<?php get_template_part('templates/content', get_post_format()); ?>