summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2011-12-06 20:51:22 -0500
committerLuke Shumaker <LukeShu@sbcglobal.net>2011-12-06 20:51:22 -0500
commit1c76fd20d1b7a770350d5e43555baab280bd8f41 (patch)
tree35b1d2a7525f1d3748ff4575776fb0b17f85b283
parent030e57b751f1b5b532ff71bf4b5deda9fc9d357a (diff)
Add a sidebar to single pages
-rw-r--r--.gitignore2
-rw-r--r--index.php.patch11
-rw-r--r--single.php.patch9
-rw-r--r--theme.mk4
4 files changed, 25 insertions, 1 deletions
diff --git a/.gitignore b/.gitignore
index 0135378..498b288 100644
--- a/.gitignore
+++ b/.gitignore
@@ -8,6 +8,8 @@ img/*
!img/swoosh.svg
!style.scss
!header.php.patch
+!single.php.patch
+!index.php.patch
!logo-style.scss.php
!css_shadow.php
!twentyeleven-fix.scss
diff --git a/index.php.patch b/index.php.patch
new file mode 100644
index 0000000..d7ee177
--- /dev/null
+++ b/index.php.patch
@@ -0,0 +1,11 @@
+--- ../twentyeleven/index.php 2011-09-29 13:43:12.000000000 -0400
++++ index.php 2011-09-29 15:56:54.000000000 -0400
+@@ -17,6 +17,8 @@
+ <div id="primary">
+ <div id="content" role="main">
+
++ <?php get_sidebar( 'index' ); ?>
++
+ <?php if ( have_posts() ) : ?>
+
+ <?php twentyeleven_content_nav( 'nav-above' ); ?>
diff --git a/single.php.patch b/single.php.patch
new file mode 100644
index 0000000..2e0205b
--- /dev/null
+++ b/single.php.patch
@@ -0,0 +1,9 @@
+--- ../twentyeleven/single.php 2011-09-29 13:43:25.000000000 -0400
++++ single.php 2011-09-29 16:23:02.000000000 -0400
+@@ -29,4 +30,5 @@
+ </div><!-- #content -->
+ </div><!-- #primary -->
+
++<?php get_sidebar(); ?>
+ <?php get_footer(); ?>
+\ No newline at end of file
diff --git a/theme.mk b/theme.mk
index dfc72e8..fb756c1 100644
--- a/theme.mk
+++ b/theme.mk
@@ -2,9 +2,11 @@ srcfiles = \
img/swoosh.svg \
style.scss \
header.php.patch \
+ single.php.patch \
+ index.php.patch \
logo-style.scss.php \
css_shadow.php
-targets = header.php style.css img/swoosh.png
+targets = header.php single.php index.php style.css img/swoosh.png
style.css: logo-style.scss twentyeleven-fix.scss