Skip to content

Commit

Permalink
releases.jquery.com: Move model template to end of page
Browse files Browse the repository at this point in the history
Second attempt to fix raw HTML showing in page previews.

Ref jquery/codeorigin.jquery.com#96
  • Loading branch information
Krinkle committed Aug 13, 2023
1 parent 9b0c485 commit e250483
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions themes/releases.jquery.com/page.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,18 @@

<?php the_post(); ?>

<div class="content-full twelve columns">
<div id="content">
<?php if ( !count( get_post_meta( $post->ID, "hide_title" ) ) ) : ?>
<h1 class="entry-title"><?php the_title(); ?></h1>
<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>
<hr>
<?php endif; ?>

<?php get_template_part( 'content', 'page' ); ?>
</div>
</div>

<div hidden id="sri-modal-template">
<div class="sri-modal-link">
<code>&lt;script
Expand All @@ -34,16 +46,4 @@
</div>
</div>

<div class="content-full twelve columns">
<div id="content">
<?php if ( !count( get_post_meta( $post->ID, "hide_title" ) ) ) : ?>
<h1 class="entry-title"><?php the_title(); ?></h1>
<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>
<hr>
<?php endif; ?>

<?php get_template_part( 'content', 'page' ); ?>
</div>
</div>

<?php get_footer(); ?>

0 comments on commit e250483

Please sign in to comment.