ildi-wp/index.php

36 lines
812 B
PHP
Raw Normal View History

2018-04-24 20:41:34 -05:00
<!DOCTYPE html>
2018-07-18 08:03:46 -05:00
<html <?php language_attributes(); ?>>
<?php get_header(); ?>
<body>
<a class="skip-nav sr-only" href="#main-content">Skip to main</a>
2018-07-24 18:52:51 -05:00
<?php get_template_part('global-head'); ?>
2018-07-18 08:03:46 -05:00
2018-07-24 08:20:35 -05:00
<main id="main-content" class="container" role="main">
<div class="grid col-100 grid-gutter-lg">
<?php
if ( have_posts() ) {
while ( have_posts() ) {
the_post();
echo "<section>";
echo "<a href=\"".get_permalink()."\">";
the_title( '<h1>', '</h1>' );
echo "</a>";
the_excerpt();
echo "</section>";
}
2018-07-18 08:03:46 -05:00
2018-07-24 08:20:35 -05:00
get_template_part('pagination');
}
?>
</div>
</main>
2018-07-18 08:03:46 -05:00
2018-07-24 08:20:35 -05:00
<?php // get_sidebar(); ?>
2018-07-18 08:03:46 -05:00
<?php get_footer(); ?>
</body>
2018-04-24 20:41:34 -05:00
</html>