portage/index.php
2021-08-01 13:56:34 -04:00

38 lines
828 B
PHP
Executable File

<?php
/**
* The main template file.
*
* This is the most generic template file in a WordPress theme
* and one of the two required files for a theme (the other being style.css).
* It is used to display a page when nothing more specific matches a query.
* E.g., it puts together the home page when no home.php file exists.
* Learn more: http://codex.wordpress.org/Template_Hierarchy
*
* @package Portage
*/
get_header();
?>
<div id="content">
<!-- Start the loop -->
<?php if ( have_posts() ) : ?>
<?php while ( have_posts() ) : the_post(); ?>
<?php get_template_part( 'formats/excerpt', get_post_format() ); ?>
<!-- End the loop -->
<?php endwhile; ?>
<?php endif; ?>
<?php portage_display_nav(); ?>
</div> <!-- end Content -->
<?php portage_post_top_link(); ?>
<?php get_sidebar(); ?>
<?php get_footer(); ?>