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 /index.php
parentac0e169e1045d9c3bc67b056fceb22ac4605b0e2 (diff)
fix blog
Signed-off-by: Jos Poortvliet <jospoortvliet@gmail.com>
Diffstat (limited to 'index.php')
-rw-r--r--index.php41
1 files changed, 38 insertions, 3 deletions
diff --git a/index.php b/index.php
index 2356db8a..aa4eaa58 100644
--- a/index.php
+++ b/index.php
@@ -1,6 +1,6 @@
-<!-- This is the blog list. -->
+<!-- This is the posts page. or maybe not. Check also page-blog.php! -->
<head>
-<link href="<?php echo get_template_directory_uri(); ?>/assets/css/pages/blogroll.css" rel="stylesheet">
+<link href="<?php echo get_template_directory_uri(); ?>/assets/css/pages/blogroll.css?v=3" rel="stylesheet">
<!--<script>
require(["require.config"], function() {
require(["modules/youtubePlayer", "modules/submenu"])
@@ -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()); ?>
@@ -57,3 +57,38 @@
<?php endif; ?>
</div>
</section>
+
+<!-- old grid -->
+<!--<section class="section--grid">
+<div class="container">
+<?php // echo do_shortcode("[post_grid id='3635']"); ?>
+</div>
+</section>-->
+
+<section class="section--newsletter">
+ <div class="container-fluid quote">
+ <h2 class="text-center revealOnScroll"><?php echo $l->t('Subscribe to our newsletter');?></h2>
+ <p class="section--paragraph section--text--center revealOnScroll"><?php echo $l->t('Want to be sure to never miss anything? Subscribe to our newsletter!');?></p>
+ <div class="container">
+ <div class="row">
+ <div class="col-md-12 revealOnScroll">
+ <div class="row text-center">
+ <a href="https://newsletter.nextcloud.com/?p=subscribe&id=1" class="button button--arrow button--large"><?php echo $l->t('Subscribe now');?></a>
+ </div>
+ </div>
+ </div>
+ </div>
+ </div>
+</section>
+
+
+
+<!-- This is the blog list. -->
+<head>
+<link href="<?php echo get_template_directory_uri(); ?>/assets/css/pages/blogroll.css" rel="stylesheet">
+<!--<script>
+ require(["require.config"], function() {
+ require(["modules/youtubePlayer", "modules/submenu"])
+ });
+</script>-->
+</head>