Skip to content

Commit 7f7febf

Browse files
committed
learn.jquery.com: Use new css framework conventions for default page template for all articles
1 parent c10f963 commit 7f7febf

File tree

1 file changed

+14
-18
lines changed

1 file changed

+14
-18
lines changed

themes/learn.jquery.com/page.php

Lines changed: 14 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,19 @@
11
<?php get_header(); ?>
22

3-
<!-- body -->
4-
<?php global $sidebar; ?>
5-
<div id="body" class="clearfix <?php echo $sidebar; ?>">
6-
7-
<!-- inner -->
8-
<div class="inner">
9-
<div class="beta-ribbon-wrapper"><div class="beta-ribbon"><a href="/about/#beta">Beta</a></div></div>
10-
<?php the_post(); ?>
3+
<?php global $sidebar; ?>
4+
<div class="content-right">
5+
<div id="content">
6+
<div class="beta-ribbon-wrapper"><div class="beta-ribbon"><a href="/about/#beta">Beta</a></div></div>
7+
<?php the_post(); ?>
118

12-
<?php get_template_part( 'content', 'page' ); ?>
13-
</div>
14-
<!-- /inner -->
15-
16-
<?php if($sidebar): ?>
17-
<?php get_sidebar(); ?>
18-
<?php endif; ?>
19-
20-
</div>
21-
<!-- /body -->
9+
<?php get_template_part( 'content', 'page' ); ?>
10+
</div>
11+
12+
<?php if($sidebar): ?>
13+
<?php get_sidebar(); ?>
14+
<?php endif; ?>
15+
16+
</div>
17+
<!-- /body -->
2218

2319
<?php get_footer(); ?>

0 commit comments

Comments
 (0)