Commit 192bc17c authored by Jakob Moser's avatar Jakob Moser
Browse files

Use semantic article tag instead of div.post-container

parent 25ede8bb
Loading
Loading
Loading
Loading
+2 −2
Changes for 404.php: 2 added lines, 2 removed lines.
Original line number Diff line number Diff line
@@ -7,7 +7,7 @@
get_header();
 ?>
			<!-- content -->
			<div class="post-container">
			<article>
                <div class="post-header">
                </div>
				<div class="post-title">
@@ -23,5 +23,5 @@ get_header();
				</div>
                <div class="post-meta">
				</div>
			</div>
            </article>
<?php get_footer(); ?>
+2 −2
Changes for index.php: 2 added lines, 2 removed lines.
Original line number Diff line number Diff line
@@ -46,7 +46,7 @@ get_header();
                        <?php
                            while ( have_posts() ) : the_post();
                         ?>
            			<div class="post-container">
            			<article>
                            <?php if ( has_post_thumbnail($post->ID) ) : ?>
                            <div class="post-header" style="background-image:url('<?php echo wp_get_attachment_url( get_post_thumbnail_id($post->ID) ); ?>');">
                            </div>
@@ -60,7 +60,7 @@ get_header();
            				<div class="post-content">
            					<?php the_excerpt(); ?>
            				</div>
            			</div>
                        </article>
                    <?php
                            endwhile;
                     ?>
+2 −2
Changes for page.php: 2 added lines, 2 removed lines.
Original line number Diff line number Diff line
@@ -7,7 +7,7 @@
get_header();
 ?>
			<!-- content -->
			<div class="post-container">
			<article>
                <div class="post-header"
				<?php
					echo ' style="background-image:url(\'';
@@ -26,5 +26,5 @@ get_header();
				</div>
                <div class="post-meta">
				</div>
			</div>
			</article>
<?php get_footer(); ?>
+2 −2
Changes for search.php: 2 added lines, 2 removed lines.
Original line number Diff line number Diff line
@@ -18,7 +18,7 @@ get_header();
                        <?php
                            while ( have_posts() ) : the_post();
                         ?>
            			<div class="post-container">
            			<article>
                            <?php if ( has_post_thumbnail($post->ID) ) : ?>
                            <div class="post-header" style="background-image:url('<?php echo wp_get_attachment_url( get_post_thumbnail_id($post->ID) ); ?>');">
                            </div>
@@ -32,7 +32,7 @@ get_header();
            				<div class="post-content">
            					<?php the_excerpt(); ?>
            				</div>
            			</div>
                        </article>
                    <?php
                            endwhile;
                     ?>
+2 −2
Changes for searchpage.php: 2 added lines, 2 removed lines.
Original line number Diff line number Diff line
@@ -9,7 +9,7 @@ get_header();

<!-- content -->
<div id="content">
	<div class="post-container">
	<article>
		<div class="post-header" style="background-image:url('<?php echo get_header_image();?>')"></div>
		<div class="post-title">
			<h1 class="post-title-box"><?php echo get_the_title($post->ID); ?></h1>
@@ -17,7 +17,7 @@ get_header();
		<div class="post-content">
			<?php get_search_form(); ?>
		</div>
	</div>
	</article>
</div>

<?php get_footer(); ?>
Loading