Archived
This enables automagic updates of WP - Delete wordpress install - Move theme(s) to top - Move local plugins to ./plugins - Simplify i18n
25 lines
1.3 KiB
PHP
25 lines
1.3 KiB
PHP
<?php if( have_posts() ) : while( have_posts() ) : the_post(); ?>
|
|
|
|
<article <?php neuf_post_class('slim'); ?>>
|
|
<div class="entry-start">
|
|
<h3 class="entry-title"><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h3>
|
|
<?php if (get_post_type() == 'event'): ?>
|
|
<span class="event-date"><?php echo ucfirst( date_i18n( 'l j. F Y' , (int) $post->neuf_events_starttime ) ); ?></span>
|
|
<?php else: ?>
|
|
<span class="entry-date"><?php echo( ucfirst( get_the_time( 'l j. F Y' ) ) ); ?></span>
|
|
<?php endif; ?>
|
|
<span class="vcard author microformat-invisible"><span class="fn"><?php the_author_link(); ?></span></span>
|
|
<time class="updated microformat-invisible" datetime="<?php the_modified_date('c'); ?>"><?php the_modified_date(); ?></time>
|
|
</div>
|
|
<div class="entry-content"><?php the_excerpt(); ?></div> <!-- .entry-content -->
|
|
<a href="<?php the_permalink(); ?>" class="entry-image"><?php the_post_thumbnail('six-column'); ?></a>
|
|
</article> <!-- .post -->
|
|
|
|
<?php endwhile; ?>
|
|
<?php else: ?>
|
|
<section class="index--no-content">
|
|
<h3><?php _e('End of the road', 'neuf'); ?></h3>
|
|
<p><?php _e('Sorry! Nothing to see here... :-(', 'neuf'); ?></p>
|
|
</section>
|
|
<?php endif; ?>
|