Skip to content

Commit 5fa9361

Browse files
committed
change repo states website to my own
1 parent 964c884 commit 5fa9361

3 files changed

Lines changed: 7 additions & 4 deletions

File tree

_config.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,9 @@ repo_trophies:
3636
theme_light: flat # https://github.com/ryo-ma/github-profile-trophy
3737
theme_dark: gitdimmed # https://github.com/ryo-ma/github-profile-trophy
3838

39+
# custom vercel instance for github-readme-stats
40+
github_stats_endpoint: https://vercel-github-repo.vercel.app/api
41+
3942
# -----------------------------------------------------------------------------
4043
# RSS Feed
4144
# -----------------------------------------------------------------------------

_includes/repository/repo.liquid

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,12 +36,12 @@
3636
<img
3737
class="only-light w-100"
3838
alt="{{ include.repository }}"
39-
src="https://github-readme-stats.vercel.app/api/pin/?username={{ repo_url[0] }}&repo={{ repo_url[1] }}&theme={{ site.repo_theme_light }}&locale={{ lang }}&show_owner={{ show_owner }}&description_lines_count={{ max_lines }}"
39+
src="{{ site.github_stats_endpoint }}/pin/?username={{ repo_url[0] }}&repo={{ repo_url[1] }}&theme={{ site.repo_theme_light }}&locale={{ lang }}&show_owner={{ show_owner }}&description_lines_count={{ max_lines }}"
4040
>
4141
<img
4242
class="only-dark w-100"
4343
alt="{{ include.repository }}"
44-
src="https://github-readme-stats.vercel.app/api/pin/?username={{ repo_url[0] }}&repo={{ repo_url[1] }}&theme={{ site.repo_theme_dark }}&locale={{ lang }}&show_owner={{ show_owner }}&description_lines_count={{ max_lines }}"
44+
src="{{ site.github_stats_endpoint }}/pin/?username={{ repo_url[0] }}&repo={{ repo_url[1] }}&theme={{ site.repo_theme_dark }}&locale={{ lang }}&show_owner={{ show_owner }}&description_lines_count={{ max_lines }}"
4545
>
4646
</a>
4747
</div>

_includes/repository/repo_user.liquid

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,12 @@
2323
<img
2424
class="only-light w-100"
2525
alt="{{ include.username }}"
26-
src="https://github-readme-stats.vercel.app/api/?username={{ include.username }}&theme={{ site.repo_theme_light }}&locale={{ lang }}&show_icons=true"
26+
src="{{ site.github_stats_endpoint }}/?username={{ include.username }}&theme={{ site.repo_theme_light }}&locale={{ lang }}&show_icons=true"
2727
>
2828
<img
2929
class="only-dark w-100"
3030
alt="{{ include.username }}"
31-
src="https://github-readme-stats.vercel.app/api/?username={{ include.username }}&theme={{ site.repo_theme_dark }}&locale={{ lang }}&show_icons=true"
31+
src="{{ site.github_stats_endpoint }}/?username={{ include.username }}&theme={{ site.repo_theme_dark }}&locale={{ lang }}&show_icons=true"
3232
>
3333
</a>
3434
</div>

0 commit comments

Comments
 (0)