Skip to content

Commit e250483

Browse files
committed
releases.jquery.com: Move model template to end of page
Second attempt to fix raw HTML showing in page previews. Ref jquery/codeorigin.jquery.com#96
1 parent 9b0c485 commit e250483

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

themes/releases.jquery.com/page.php

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,18 @@
1111

1212
<?php the_post(); ?>
1313

14+
<div class="content-full twelve columns">
15+
<div id="content">
16+
<?php if ( !count( get_post_meta( $post->ID, "hide_title" ) ) ) : ?>
17+
<h1 class="entry-title"><?php the_title(); ?></h1>
18+
<div class="powered-by">Powered by <a href="https://www.stackpath.com"><img src="<?php echo get_template_directory_uri(); ?>/images/stackpath.png"></a></div>
19+
<hr>
20+
<?php endif; ?>
21+
22+
<?php get_template_part( 'content', 'page' ); ?>
23+
</div>
24+
</div>
25+
1426
<div hidden id="sri-modal-template">
1527
<div class="sri-modal-link">
1628
<code>&lt;script
@@ -34,16 +46,4 @@
3446
</div>
3547
</div>
3648

37-
<div class="content-full twelve columns">
38-
<div id="content">
39-
<?php if ( !count( get_post_meta( $post->ID, "hide_title" ) ) ) : ?>
40-
<h1 class="entry-title"><?php the_title(); ?></h1>
41-
<div class="powered-by">Powered by <a href="https://www.stackpath.com"><img src="<?php echo get_template_directory_uri(); ?>/images/stackpath.png"></a></div>
42-
<hr>
43-
<?php endif; ?>
44-
45-
<?php get_template_part( 'content', 'page' ); ?>
46-
</div>
47-
</div>
48-
4949
<?php get_footer(); ?>

0 commit comments

Comments
 (0)