Sha256: 81e260bea226b58673c202977725a49784cadc31d16a2727a7af40b7f4cd1142

Contents?: true

Size: 935 Bytes

Versions: 5

Compression:

Stored size: 935 Bytes

Contents

<?php get_header(); ?>

	<div class="content-wrap">
		<div class="content content-area">
			<?php if ( have_posts() ) : ?>

				<header class="page-header">
					<h1 class="page-title">
						<?php
							if ( is_day() ) :
								printf( __( 'Day: %s', '<%= theme_id %>' ), get_the_date() );
							elseif ( is_month() ) :
								printf( __( 'Month: %s', '<%= theme_id %>' ), get_the_date( 'F Y' ) );
							elseif ( is_year() ) :
								printf( __( 'Year: %s', '<%= theme_id %>' ), get_the_date( 'Y' ) );
							else :
								_e( 'Archives', '<%= theme_id %>' );
							endif;
						?>
					</h1>
				</header>

				<?php while ( have_posts() ) : the_post(); ?>

					<?php get_template_part( 'content', get_post_format() ); ?>

				<?php endwhile; ?>

				<?php <%= theme_id %>_paging_nav(); ?>

			<?php else : ?>

				<?php get_template_part( 'content', 'none' ); ?>

			<?php endif; ?>
		</div>
	</div>

<?php get_footer(); ?>

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
marv-0.2.5 layouts/default/templates/archive.php.erb
marv-0.2.4 layouts/default/templates/archive.php.erb
marv-0.2.3 layouts/default/templates/archive.php.erb
marv-0.2.2 layouts/default/templates/archive.php.erb
marv-0.2.1 layouts/default/templates/archive.php.erb