File tree Expand file tree Collapse file tree 6 files changed +16
-18
lines changed
Expand file tree Collapse file tree 6 files changed +16
-18
lines changed Original file line number Diff line number Diff line change 11# README
22
3- Source files for [ coderstats.net] ( http://coderstats.net/ ) .
4-
5- # Reference
6-
7- * https://developer.github.com/v3/search/#search-users
8- * https://help.github.com/en/articles/searching-users#search-only-users-or-organizations
3+ Source files for [ coderstats.net] ( https://coderstats.net/ ) .
Original file line number Diff line number Diff line change 11---
2- title : CoderStats
2+ title : CoderStats - Summary Statistics, Rankings and Repositories
3+ description : Summary statistics, rankings and repositories about public source code repositories on GitHub.
34template : coder.html
45created : 2017-09-22T22:12:48
56---
Original file line number Diff line number Diff line change 11---
22noindex : 1
3+ created : 2017-09-22T22:02:05
34url : /
45title : CoderStats - View Statistics for Millions of GitHub Users and Organizations
6+ description : CoderStats is a free service that displays statistics about public source code repositories for GitHub users and organizations.
57template : front.html
6- created : 2017-09-22T22:02:05
78---
Original file line number Diff line number Diff line change @@ -14,8 +14,9 @@ if (document.location.hash) {
1414 document . location . href = '/' ;
1515}
1616// Set these values here because they are outside of vue's scope.
17- document . title = `CoderStats(${ github_user } )` ;
18- document . getElementsByClassName ( 'brand' ) [ 0 ] . textContent = document . title ;
17+ let short_title = `CoderStats(${ github_user } )`
18+ document . title = document . title . replace ( 'CoderStats' , short_title ) ;
19+ document . getElementsByClassName ( 'brand' ) [ 0 ] . textContent = short_title ;
1920
2021let url_user = `https://api.github.com/users/${ github_user } ` ,
2122 url_repos = `${ url_user } /repos?sort=pushed&per_page=100` ,
Original file line number Diff line number Diff line change 88< link rel ="shortcut icon " href ="/img/coderstats.png ">
99< link rel ="canonical " href ="{{ canonical }} " />
1010{% block styles %}{% endblock %}
11- < link rel ="stylesheet " href ="//maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css ">
11+ < link rel ="stylesheet " href ="https: //maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css ">
1212< link rel ="stylesheet " href ="/compiled/style.css ">
1313</ head >
1414< body >
2121</ footer >
2222
2323{% block scripts %}
24- < script src ="//cdn.jsdelivr.net/npm/vue "> </ script >
25- < script src ="//cdn.jsdelivr.net/npm/vue-resource@1.5.1/dist/vue-resource.min.js "> </ script >
26- < script src ="//cdn.jsdelivr.net/npm/d3-collection@1.0.7/dist/d3-collection.min.js "> </ script >
27- < script src ="//cdn.jsdelivr.net/npm/d3-array@2.2.0/dist/d3-array.min.js "> </ script >
24+ < script src ="https: //cdn.jsdelivr.net/npm/vue "> </ script >
25+ < script src ="https: //cdn.jsdelivr.net/npm/vue-resource@1.5.1/dist/vue-resource.min.js "> </ script >
26+ < script src ="https: //cdn.jsdelivr.net/npm/d3-collection@1.0.7/dist/d3-collection.min.js "> </ script >
27+ < script src ="https: //cdn.jsdelivr.net/npm/d3-array@2.2.0/dist/d3-array.min.js "> </ script >
2828{% endblock %}
2929</ body >
3030</ html >
Original file line number Diff line number Diff line change 11{% extends 'base.html' %}
22
33{% block styles %}
4- < link rel ="stylesheet " href ="//cdn.jsdelivr.net/chartist.js/latest/chartist.min.css ">
4+ < link rel ="stylesheet " href ="https: //cdn.jsdelivr.net/chartist.js/latest/chartist.min.css ">
55< link rel ="stylesheet " href ="/compiled/coder.css ">
66{% endblock %}
77
88{% block content %}
99< nav class ="container-full clear "> < div class ="row ">
1010 < div class ="col-12 col-4-xl col-4-l col-5-m ">
11- < a href ="/ "> < img src ="/img/coderstats.png "> </ a >
11+ < a href ="/ "> < img src ="/img/coderstats.png " alt =" logo " > </ a >
1212 < span class ="brand "> CoderStats({{ username }})</ span >
1313 </ div >
1414 < div class ="col-12 col-8-xl col-8-l col-7-m " id ="search ">
@@ -151,7 +151,7 @@ <h2 id="repos">Repositories</h2>
151151
152152{% block scripts %}
153153{{ super() }}
154- < script src ="//cdn.jsdelivr.net/chartist.js/latest/chartist.min.js "> </ script >
154+ < script src ="https: //cdn.jsdelivr.net/chartist.js/latest/chartist.min.js "> </ script >
155155< script src ="/compiled/coder.js "> </ script >
156156< script src ="/compiled/search.js "> </ script >
157157{% endblock %}
You can’t perform that action at this time.
0 commit comments