Skip to content

Commit 1782c2c

Browse files
committed
update
1 parent 5fe3d85 commit 1782c2c

30 files changed

Lines changed: 1351 additions & 1449 deletions

File tree

_config.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
1+
markdown: redcarpet
12
pygments: true
23
permalink: /:title

_layouts/default.html

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -39,12 +39,11 @@
3939
</div>
4040
<div class="navbar-collapse collapse navbar-responsive-collapse">
4141
<ul class="nav navbar-nav">
42-
<li class=""><a href="/">Home</a></li>
42+
<li class=""><a href="/">Tutorials</a></li>
4343

4444
</ul>
4545
<ul class="nav navbar-nav navbar-right">
4646
<li><a href="http://prerender.io"><strong>Need SEO?</strong></a></li>
47-
<li><a href="http://feeds.feedburner.com/BackboneTutorials">Subscribe</a></li>
4847
<li><a href="https://leanpub.com/backbonetutorials">Download eBook (.pdf, .MOBI, .ePub)</a></li>
4948
</ul>
5049
</div>
@@ -55,26 +54,27 @@
5554

5655
<div class="container">
5756
<div class="row">
58-
<div class="col-lg-4">
5957
<div class="panel panel-primary">
6058
<div class="panel-heading">
6159
<h3 class="panel-title">About</h3>
6260
</div>
61+
<div class="panel-body">
62+
<div class="col-lg-4">
6363

6464
<p>Backbone Tutorials is a collection of tutorials written by <a href="http://thomasdav.is">Thomas Davis</a>. Everything is open source and I try my best to keep the tutorials updated. Though I am busy and only work on this is my spare time so many <a href="https://github.com/thomasdavis/backbonetutorials/graphs/contributors">contributors</a> have also help me put this resource together.</p>
6565
<a href="https://twitter.com/neutralthoughts" class="twitter-follow-button" data-show-count="true">Follow @neutralthoughts</a>
6666
<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+'://platform.twitter.com/widgets.js';fjs.parentNode.insertBefore(js,fjs);}}(document, 'script', 'twitter-wjs');</script>
6767
</div>
68-
</div>
6968
<div class="col-lg-8">
7069
<h3 >Backbone.js Beginner Video Tutorial</h3>
7170
<img src="/backbone.png" style="float: left;" /><p>I have put extra effort into making a very easy to understand Backbone.js video which is also free. It is 70mins long and covers everything you need to know when getting started.</p>
7271
<a href="https://www.youtube.com/watch?v=FZSjvWtUxYk" class="btn btn-primary">Watch Video</a>
7372
</div>
73+
74+
</div>
75+
</div>
7476
</div>
75-
<div class="container">
7677
{{ content }}
77-
</div>
7878

7979
</div>
8080
<script src="//static.getclicky.com/js" type="text/javascript"></script>

_layouts/post.html

Lines changed: 17 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -2,34 +2,31 @@
22
layout: default
33
---
44

5-
<div class="panel">
6-
<div class="panel-heading">
7-
<h3 class="panel-title">Tutorial</h3>
8-
</div>
9-
5+
106

117

128
<div id="post">
139
{{ content }}
1410
</div>
15-
</div>
11+
<hr />
12+
<div class="row">
13+
<div class="col-lg-4 col-lg-offset-4">
14+
<div style="text-align: center;">
15+
<img src="https://secure.gravatar.com/avatar/cff733cf90823edd218a834980379c61?s=170" class="img-circle" style=" padding:2px; border: 1px solid #ddd; width: 100px;">
16+
<h2>Thomas Davis</h2>
17+
<p>Founder of <a href="http://cdnjs.com">cdnjs.com</a>, <a href="http://jsonresume.org">jsonresume.org</a></p>
18+
<p>Work with Drones, Open Source, Tech Policy, Javascript and Music. </p>
19+
<div class="addthis_horizontal_follow_toolbox" style="padding-left: 33px;"></div>
20+
<br />
21+
<a href="https://github.com/thomasdavis">github.com/thomasdavis</a>
22+
</div>
23+
</div>
24+
</div>
25+
<hr />
1626

1727

28+
<script type="text/javascript" src="//s7.addthis.com/js/300/addthis_widget.js#pubid=thomasdavis" async="async"></script>
1829

19-
<div class="panel panel-success">
20-
<div class="panel-heading">
21-
<h3 class="panel-title">Authored by Thomas Davis</h3>
22-
</div>
23-
<a href="https://plus.google.com/101608559187380638042?rel=author">Google Profile</a>
24-
<a href="https://twitter.com/neutralthoughts">Twitter</a>
25-
<a href="https://github.com/thomasdavis">Github</a>
26-
<a href="https://twitter.com/neutralthoughts" class="twitter-follow-button" data-show-count="true">Follow @neutralthoughts</a>
27-
<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+'://platform.twitter.com/widgets.js';fjs.parentNode.insertBefore(js,fjs);}}(document, 'script', 'twitter-wjs');</script>
28-
</div>
29-
<div class="panel panel-info">
30-
<div class="panel-heading">
31-
<h3 class="panel-title">Comments</h3>
32-
</div>
3330
<div id="disqus_thread"></div>
3431
<script type="text/javascript">
3532
/* * * CONFIGURATION VARIABLES: EDIT BEFORE PASTING INTO YOUR WEBPAGE * * */
@@ -42,4 +39,3 @@ <h3 class="panel-title">Comments</h3>
4239
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
4340
})();
4441
</script>
45-
</div>

_posts/2012-8-1-seo-for-single-page-apps.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ Using modern headless browsers, we can easily return the fully rendered content
2727

2828
You will need to install node.js and phantom.js onto a box. Then start up this server below. There are two files, one which is the web server and the other is a phantomjs script that renders the page.
2929

30-
```javascript
30+
```js
3131
// web.js
3232

3333
// Express is our web server that can handle request

_site/2011-12-12-cross-domain-backbone-apps.html

Lines changed: 23 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -39,12 +39,11 @@
3939
</div>
4040
<div class="navbar-collapse collapse navbar-responsive-collapse">
4141
<ul class="nav navbar-nav">
42-
<li class=""><a href="/">Home</a></li>
42+
<li class=""><a href="/">Tutorials</a></li>
4343

4444
</ul>
4545
<ul class="nav navbar-nav navbar-right">
4646
<li><a href="http://prerender.io"><strong>Need SEO?</strong></a></li>
47-
<li><a href="http://feeds.feedburner.com/BackboneTutorials">Subscribe</a></li>
4847
<li><a href="https://leanpub.com/backbonetutorials">Download eBook (.pdf, .MOBI, .ePub)</a></li>
4948
</ul>
5049
</div>
@@ -55,32 +54,27 @@
5554

5655
<div class="container">
5756
<div class="row">
58-
<div class="col-lg-4">
5957
<div class="panel panel-primary">
6058
<div class="panel-heading">
6159
<h3 class="panel-title">About</h3>
6260
</div>
61+
<div class="panel-body">
62+
<div class="col-lg-4">
6363

6464
<p>Backbone Tutorials is a collection of tutorials written by <a href="http://thomasdav.is">Thomas Davis</a>. Everything is open source and I try my best to keep the tutorials updated. Though I am busy and only work on this is my spare time so many <a href="https://github.com/thomasdavis/backbonetutorials/graphs/contributors">contributors</a> have also help me put this resource together.</p>
6565
<a href="https://twitter.com/neutralthoughts" class="twitter-follow-button" data-show-count="true">Follow @neutralthoughts</a>
6666
<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+'://platform.twitter.com/widgets.js';fjs.parentNode.insertBefore(js,fjs);}}(document, 'script', 'twitter-wjs');</script>
6767
</div>
68-
</div>
6968
<div class="col-lg-8">
7069
<h3 >Backbone.js Beginner Video Tutorial</h3>
7170
<img src="/backbone.png" style="float: left;" /><p>I have put extra effort into making a very easy to understand Backbone.js video which is also free. It is 70mins long and covers everything you need to know when getting started.</p>
7271
<a href="https://www.youtube.com/watch?v=FZSjvWtUxYk" class="btn btn-primary">Watch Video</a>
7372
</div>
73+
74+
</div>
75+
</div>
7476
</div>
75-
<div class="container">
76-
<div class="panel">
77-
<div class="panel-heading">
78-
<h3 class="panel-title">Tutorial</h3>
79-
</div>
80-
81-
82-
83-
<div id="post">
77+
<div id="post">
8478
<h2>Cross Browser problems when consuming your own <span class="caps">API</span></h2>
8579
<p>This tutorial aims to help those who have separated their front-end completely from their back-end by building a restful interface as the mediator between the two.</p>
8680
<p>Consuming your own public api has great benefits and sites such as foursquare have <a href="http://engineering.foursquare.com/2011/12/08/web-sites-are-clients-too/">recently</a> converted.</p>
@@ -398,24 +392,25 @@ <h3>Contributors</h3>
398392
<li><a href="https://github.com/dzejkej">Jakub Kozisek</a> (created modular-backbone-updated containing updated libs with <span class="caps">AMD</span> support)</li>
399393
</ul>
400394
</div>
401-
</div>
395+
<hr />
396+
<div class="row">
397+
<div class="col-lg-4 col-lg-offset-4">
398+
<div style="text-align: center;">
399+
<img src="https://secure.gravatar.com/avatar/cff733cf90823edd218a834980379c61?s=170" class="img-circle" style=" padding:2px; border: 1px solid #ddd; width: 100px;">
400+
<h2>Thomas Davis</h2>
401+
<p>Founder of <a href="http://cdnjs.com">cdnjs.com</a>, <a href="http://jsonresume.org">jsonresume.org</a></p>
402+
<p>Work with Drones, Open Source, Tech Policy, Javascript and Music. </p>
403+
<div class="addthis_horizontal_follow_toolbox" style="padding-left: 33px;"></div>
404+
<br />
405+
<a href="https://github.com/thomasdavis">github.com/thomasdavis</a>
406+
</div>
407+
</div>
408+
</div>
409+
<hr />
402410

403411

412+
<script type="text/javascript" src="//s7.addthis.com/js/300/addthis_widget.js#pubid=thomasdavis" async="async"></script>
404413

405-
<div class="panel panel-success">
406-
<div class="panel-heading">
407-
<h3 class="panel-title">Authored by Thomas Davis</h3>
408-
</div>
409-
<a href="https://plus.google.com/101608559187380638042?rel=author">Google Profile</a>
410-
<a href="https://twitter.com/neutralthoughts">Twitter</a>
411-
<a href="https://github.com/thomasdavis">Github</a>
412-
<a href="https://twitter.com/neutralthoughts" class="twitter-follow-button" data-show-count="true">Follow @neutralthoughts</a>
413-
<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+'://platform.twitter.com/widgets.js';fjs.parentNode.insertBefore(js,fjs);}}(document, 'script', 'twitter-wjs');</script>
414-
</div>
415-
<div class="panel panel-info">
416-
<div class="panel-heading">
417-
<h3 class="panel-title">Comments</h3>
418-
</div>
419414
<div id="disqus_thread"></div>
420415
<script type="text/javascript">
421416
/* * * CONFIGURATION VARIABLES: EDIT BEFORE PASTING INTO YOUR WEBPAGE * * */
@@ -428,9 +423,7 @@ <h3 class="panel-title">Comments</h3>
428423
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
429424
})();
430425
</script>
431-
</div>
432426

433-
</div>
434427

435428
</div>
436429
<script src="//static.getclicky.com/js" type="text/javascript"></script>

_site/about.html

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -39,12 +39,11 @@
3939
</div>
4040
<div class="navbar-collapse collapse navbar-responsive-collapse">
4141
<ul class="nav navbar-nav">
42-
<li class=""><a href="/">Home</a></li>
42+
<li class=""><a href="/">Tutorials</a></li>
4343

4444
</ul>
4545
<ul class="nav navbar-nav navbar-right">
4646
<li><a href="http://prerender.io"><strong>Need SEO?</strong></a></li>
47-
<li><a href="http://feeds.feedburner.com/BackboneTutorials">Subscribe</a></li>
4847
<li><a href="https://leanpub.com/backbonetutorials">Download eBook (.pdf, .MOBI, .ePub)</a></li>
4948
</ul>
5049
</div>
@@ -55,30 +54,31 @@
5554

5655
<div class="container">
5756
<div class="row">
58-
<div class="col-lg-4">
5957
<div class="panel panel-primary">
6058
<div class="panel-heading">
6159
<h3 class="panel-title">About</h3>
6260
</div>
61+
<div class="panel-body">
62+
<div class="col-lg-4">
6363

6464
<p>Backbone Tutorials is a collection of tutorials written by <a href="http://thomasdav.is">Thomas Davis</a>. Everything is open source and I try my best to keep the tutorials updated. Though I am busy and only work on this is my spare time so many <a href="https://github.com/thomasdavis/backbonetutorials/graphs/contributors">contributors</a> have also help me put this resource together.</p>
6565
<a href="https://twitter.com/neutralthoughts" class="twitter-follow-button" data-show-count="true">Follow @neutralthoughts</a>
6666
<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+'://platform.twitter.com/widgets.js';fjs.parentNode.insertBefore(js,fjs);}}(document, 'script', 'twitter-wjs');</script>
6767
</div>
68-
</div>
6968
<div class="col-lg-8">
7069
<h3 >Backbone.js Beginner Video Tutorial</h3>
7170
<img src="/backbone.png" style="float: left;" /><p>I have put extra effort into making a very easy to understand Backbone.js video which is also free. It is 70mins long and covers everything you need to know when getting started.</p>
7271
<a href="https://www.youtube.com/watch?v=FZSjvWtUxYk" class="btn btn-primary">Watch Video</a>
7372
</div>
73+
74+
</div>
75+
</div>
7476
</div>
75-
<div class="container">
7677
<h2>About Backbone Tutorials</h2>
7778
<p>As single page apps and large scale javascript applications become more prominent on the web, useful resources for those developers who are jumping the ship are crucial.</p>
7879
<p>I started this site to not only consolidate my understanding of backbone.js but to also document what I have learned thus far for myself and others.</p>
7980
<p>You can contact the original owner of this site through <a href="https://github.com/thomasdavis">github</a> or via twitter(<a href="http://twitter.com/neutralthoughts">@neutralthoughts</a>). You can also find me at #cdnjs on freenode.net.</p>
8081
<p>thomasalwyndavis@gmail.com</p>
81-
</div>
8282

8383
</div>
8484
<script src="//static.getclicky.com/js" type="text/javascript"></script>

0 commit comments

Comments
 (0)