Browse files

added links to purchase the book

  • Loading branch information...
1 parent 9b8c460 commit 303ee251215ed2c880366f08b5becb3fee6b16f0 @schacon schacon committed Jun 25, 2009
Showing with 16 additions and 33 deletions.
  1. +1 −1 _layouts/master.html
  2. BIN images/book-big.jpg
  3. +0 −32 source.html
  4. +15 −0 support.html
View
2 _layouts/master.html
@@ -22,7 +22,7 @@
<li><a href='/book'>Book</a></li>
<li><a href='/blog.html'>Blog</a></li>
<li><a href='/about.html'>About</a></li>
- <li><a href='/source.html'>Source Code</a></li>
+ <li><a href='/support.html'>Support Us</a></li>
<li><a href='http://github.com/progit' target='_blank' rel='me'>GitHub</a></li>
<li><a href='http://twitter.com/progitbook' target='_blank' rel='me'>Twitter</a></li>
</ul>
View
BIN images/book-big.jpg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
32 source.html
@@ -1,32 +0,0 @@
----
-layout: master
-title: Source Code
----
-
-<h2>Source Code</h2>
-
-<p>Here are any projects mentioned in our blog or referenced in the book for
- your convenience. They are all hosted at GitHub at
- <a href="http://github.com/progit">github.com/progit</a>.</p>
-
-<div id='github-projects' class='big'>
-</div>
-
-<script type="text/javascript" charset="utf-8">
- $.githubUser('progit', function(data) {
- $('#github-projects').html('');
-
- var repos = data.user.repositories;
- repos.sort(function(a,b) {
- return b.watchers - a.watchers;
- });
-
- $(repos).each(function() {
- $('#github-projects').append("\
-<div class='repo'>\
- <h3><a href='" + this.url + "'>" + this.name + "</a></h3>\
- <span class='desc'>"+this.description+"</span>\
-</div>");
- });
- });
-</script>
View
15 support.html
@@ -0,0 +1,15 @@
+---
+title: Support Us
+layout: master
+---
+
+<h2>Support this Site</h2>
+
+<table width="100%">
+ <tr><td valign="top">
+ <p>Apress was kind enough to let me license the content of this book under the Creative Commons license and put all of the content online for everyone to use. Supporting open documentation efforts like this by purchasing a print version of the book helps to encourage more authors and publishers to do this for the benefit of the whole community.</p>
+ </td><td valign="top">
+ <a href="http://www.amazon.com/gp/product/1430218339?ie=UTF8&tag=prgi-20&linkCode=as2&camp=1789&creative=390957&creativeASIN=1430218339"><img border="0" src="/images/book-big.jpg"></a><img src="http://www.assoc-amazon.com/e/ir?t=prgi-20&l=as2&o=1&a=1430218339" width="1" height="1" border="0" alt="" style="border:none !important; margin:0px !important;" /><br/>
+ Purchase <a href="http://www.amazon.com/gp/product/1430218339?ie=UTF8&tag=prgi-20&linkCode=as2&camp=1789&creative=390957&creativeASIN=1430218339">Pro Git</a><img src="/images/book-big.jpg" width="1" height="1" border="0" alt="" style="border:none !important; margin:0px !important;" /> at Amazon.com
+</td></tr>
+</table>

0 comments on commit 303ee25

Please sign in to comment.