Mode clair / sombre et thèmes de saison
This commit is contained in:
parent
da05adede1
commit
17cf2c8380
19 changed files with 3563 additions and 0 deletions
25
index.php
Normal file
25
index.php
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
<?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(); ?>
|
||||
Loading…
Add table
Add a link
Reference in a new issue