lol vibe
This commit is contained in:
@@ -0,0 +1,34 @@
|
||||
<?php
|
||||
/**
|
||||
* Generic index template (posts/blog and fallback).
|
||||
*/
|
||||
get_header();
|
||||
?>
|
||||
|
||||
<main>
|
||||
<section class="page-hero">
|
||||
<div class="container">
|
||||
<h1><?php echo esc_html( is_home() ? get_bloginfo( 'name' ) : get_the_archive_title() ); ?></h1>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section class="section">
|
||||
<div class="container">
|
||||
<?php if ( have_posts() ) : ?>
|
||||
<?php while ( have_posts() ) : the_post(); ?>
|
||||
<article <?php post_class( 'card card--service' ); ?> style="margin-bottom:1.5rem">
|
||||
<h2><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h2>
|
||||
<?php the_excerpt(); ?>
|
||||
</article>
|
||||
<?php endwhile; ?>
|
||||
<div class="nav-previous"><?php previous_posts_link( '← Nieuwere' ); ?></div>
|
||||
<div class="nav-next"><?php next_posts_link( 'Oudere →' ); ?></div>
|
||||
<?php else : ?>
|
||||
<p><?php esc_html_e( 'Geen berichten gevonden.', 'hogelandlinux' ); ?></p>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
</section>
|
||||
</main>
|
||||
|
||||
<?php
|
||||
get_footer();
|
||||
Reference in New Issue
Block a user