updated basic HTML portions for better semantics
This commit is contained in:
28
index.php
28
index.php
@ -1,11 +1,17 @@
|
||||
<?php
|
||||
get_header();
|
||||
if ( have_posts() ) : while ( have_posts() ) : the_post();
|
||||
get_template_part( 'content', get_post_format() );
|
||||
endwhile;
|
||||
else :
|
||||
_e( 'Sorry, no posts matched your criteria.', 'textdomain' );
|
||||
endif;
|
||||
//get_sidebar();
|
||||
get_footer();
|
||||
?>
|
||||
<?php get_header(); ?>
|
||||
|
||||
<main>
|
||||
|
||||
<?php
|
||||
if ( have_posts() ) : while ( have_posts() ) : the_post();
|
||||
get_template_part( 'content', get_post_format() );
|
||||
endwhile;
|
||||
else :
|
||||
_e( 'Sorry, no posts matched your criteria.', 'textdomain' );
|
||||
endif;
|
||||
//get_sidebar();
|
||||
?>
|
||||
|
||||
</main>
|
||||
|
||||
<?php get_footer(); ?>
|
Reference in New Issue
Block a user