25 lines
1 KiB
PHP
25 lines
1 KiB
PHP
<?php
|
|
/* Fallback générique */
|
|
get_header();
|
|
?>
|
|
|
|
<div class="page-wrap">
|
|
<?php if (have_posts()) : ?>
|
|
<h1 class="page-title" data-reveal><?php echo is_search() ? 'RECHERCHE' : 'ARCHIVES'; ?></h1>
|
|
<div class="blog-list">
|
|
<?php $i = 0; while (have_posts()) : the_post(); $i++; ?>
|
|
<a class="blog-row" href="<?php the_permalink(); ?>" data-cursor-label="LIRE ↗" data-wipe="LECTURE">
|
|
<span class="blog-num mono"><?php echo str_pad($i, 2, '0', STR_PAD_LEFT); ?></span>
|
|
<span class="blog-title"><?php the_title(); ?></span>
|
|
<span class="blog-tag mono"><?php echo esc_html(strtoupper(get_the_date('M Y'))); ?></span>
|
|
<span class="blog-arrow mono">→</span>
|
|
</a>
|
|
<?php endwhile; ?>
|
|
</div>
|
|
<?php else : ?>
|
|
<h1 class="page-title" data-reveal>RIEN <span class="outline-lime">ICI</span></h1>
|
|
<p class="page-lead">Aucun contenu trouvé.</p>
|
|
<?php endif; ?>
|
|
</div>
|
|
|
|
<?php get_footer(); ?>
|