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 1
1
# README
2
2
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 1
1
---
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.
3
4
template : coder.html
4
5
created : 2017-09-22T22:12:48
5
6
---
Original file line number Diff line number Diff line change 1
1
---
2
2
noindex : 1
3
+ created : 2017-09-22T22:02:05
3
4
url : /
4
5
title : 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.
5
7
template : front.html
6
- created : 2017-09-22T22:02:05
7
8
---
Original file line number Diff line number Diff line change @@ -14,8 +14,9 @@ if (document.location.hash) {
14
14
document . location . href = '/' ;
15
15
}
16
16
// 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 ;
19
20
20
21
let url_user = `https://api.github.com/users/${ github_user } ` ,
21
22
url_repos = `${ url_user } /repos?sort=pushed&per_page=100` ,
Original file line number Diff line number Diff line change 8
8
< link rel ="shortcut icon " href ="/img/coderstats.png ">
9
9
< link rel ="canonical " href ="{{ canonical }} " />
10
10
{% 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 ">
12
12
< link rel ="stylesheet " href ="/compiled/style.css ">
13
13
</ head >
14
14
< body >
21
21
</ footer >
22
22
23
23
{% 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 >
28
28
{% endblock %}
29
29
</ body >
30
30
</ html >
Original file line number Diff line number Diff line change 1
1
{% extends 'base.html' %}
2
2
3
3
{% 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 ">
5
5
< link rel ="stylesheet " href ="/compiled/coder.css ">
6
6
{% endblock %}
7
7
8
8
{% block content %}
9
9
< nav class ="container-full clear "> < div class ="row ">
10
10
< 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 >
12
12
< span class ="brand "> CoderStats({{ username }})</ span >
13
13
</ div >
14
14
< div class ="col-12 col-8-xl col-8-l col-7-m " id ="search ">
@@ -151,7 +151,7 @@ <h2 id="repos">Repositories</h2>
151
151
152
152
{% block scripts %}
153
153
{{ 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 >
155
155
< script src ="/compiled/coder.js "> </ script >
156
156
< script src ="/compiled/search.js "> </ script >
157
157
{% endblock %}
You can’t perform that action at this time.
0 commit comments