@@ -6,29 +6,30 @@ <h3 class="panel-title"><i class="fa fa-github fa-fw"></i>GitHub Repos</h3>
66 < p class ="loading "> Status updating...</ p >
77 </ div >
88 {% if site.data.github.show_profile_link %}
9- < div class ="panel-body gh-profile-link text-muted ">
10- < div class ="pull-right ">
11- < a href ="https://github.com/{{include.username}} "> @{{include.username}}</ a > on < i class =" fa fa-github fa-fw " > </ i > GitHub
12- </ div >
9+ < div class ="panel-body gh-profile-link text-muted ">
10+ < div class ="pull-right ">
11+ < a href ="https://github.com/{{include.username}} "> @{{include.username}}</ a > on < i
12+ class =" fa fa-github fa-fw " > </ i > GitHub
1313 </ div >
14+ </ div >
1415 {% endif %}
1516 < script type ="text/javascript ">
16- $ ( document ) . ready ( function ( ) {
17- if ( ! window . jXHR ) {
18- var jxhr = document . createElement ( 'script' ) ;
19- jxhr . type = 'text/javascript' ;
20- jxhr . src = '{% asset_path vendor/jXHR %} ' ;
21- var s = document . getElementsByTagName ( 'script' ) [ 0 ] ;
22- s . parentNode . insertBefore ( jxhr , s ) ;
23- }
17+ $ ( document ) . ready ( function ( ) {
18+ if ( ! window . jXHR ) {
19+ var jxhr = document . createElement ( 'script' ) ;
20+ jxhr . type = 'text/javascript' ;
21+ jxhr . src = '/_assets/js/ vendor/jXHR.js ' ;
22+ var s = document . getElementsByTagName ( 'script' ) [ 0 ] ;
23+ s . parentNode . insertBefore ( jxhr , s ) ;
24+ }
2425
25- github . showRepos ( {
26- user : '{{ include.username }}' ,
27- count : { { site . data . github . repo_count } } ,
28- skip_forks : { { site . data . github . skip_forks } } ,
29- target : '#gh_repos'
30- } ) ;
26+ github . showRepos ( {
27+ user : '{{ include.username }}' ,
28+ count : ' {{ site.data.github.repo_count }}' ,
29+ skip_forks : ' {{ site.data.github.skip_forks }}' ,
30+ target : '#gh_repos'
31+ } ) ;
3132 } ) ;
3233 </ script >
33- {% js github %}
34+ < script src =" /_assets/js/ github.js " > </ script >
3435</ section >
0 commit comments