File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1515 {% include carousel-scripts.html %}
1616
1717 < script src ="/js/application.js "> </ script >
18+ < script src ="/js/infinite-jekyll.js "> </ script >
1819 </ body >
1920</ html >
Original file line number Diff line number Diff line change 44
55< section class ="blog ">
66 < section class ="posts ">
7- {% for post in site.posts limit: 10 %}
7+ {% for post in site.posts limit: 5 %}
88 < article class ="post ">
99 < a href ="{{ post.url }} ">
1010 < h1 class ="name ">
@@ -19,4 +19,6 @@ <h1 class="name">
1919 </ article >
2020 {% endfor %}
2121 </ section >
22+
23+ < div class ="infinite-spinner "> </ div >
2224</ section >
Original file line number Diff line number Diff line change 1- $ ( document ) . ready ( function ( ) {
1+ $ . ajaxSetup ( {
2+ global : true ,
3+ } ) ;
4+
5+ function resizePostVideoPlayers ( ) {
26 $ ( ".post iframe" ) .
37 attr ( "width" , 775 ) .
48 attr ( "height" , 432 ) ;
9+ }
510
11+ $ ( document ) . ready ( resizePostVideoPlayers ) ;
12+ $ ( document ) . ajaxComplete ( resizePostVideoPlayers ) ;
13+
14+ $ ( document ) . ready ( function ( ) {
615 if ( $ . fn . jcarousel ) {
716 $ ( "[data-behavior*=carousel]" ) . jcarousel ( {
817 wrap : "circular" ,
You can’t perform that action at this time.
0 commit comments