Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
executable file 29 lines (23 sloc) 555 Bytes
<?php
/**
* The main template file.
*
* If you're using Webcomic you'll want to look at `webcomic/home.php`.
*
* @package Inkblot
* @see https://codex.wordpress.org/Template_Hierarchy
*/
get_header(); ?>
<main role="main">
<?php
if (have_posts()) :
while (have_posts()) : the_post();
get_template_part('content', get_post_format());
endwhile;
print inkblot_posts_nav(false, get_theme_mod('paged_navigation', true));
else :
get_template_part('content', 'none');
endif;
?>
</main>
<?php get_sidebar(); get_footer();