pages/_includes
Dominik Fuchß 67bd1b6210
Make external service URLs configurable for repository page (#3422)
## Description

This PR makes the URLs for external services used on the repository page
configurable in `_config.yml`. This allows users to self-host these
services for better reliability, privacy, and customization.

## Changes

- Added `external_services` configuration section in `_config.yml` with:
- `github_readme_stats_url` (default:
`https://github-readme-stats.vercel.app`)
- `github_profile_trophy_url` (default:
`https://github-profile-trophy.vercel.app`)
- Updated repository template files to use configurable URLs:
  - `_includes/repository/repo_user.liquid`
  - `_includes/repository/repo.liquid`
  - `_includes/repository/repo_trophies.liquid`
- Added documentation in `CUSTOMIZE.md` explaining:
- Why self-hosting is recommended (default services may have
availability issues)
  - How to configure custom service URLs
  - Links to the service repositories for deployment instructions

## Resolves

Resolves #3388 - This makes it possible to configure self-hosted
versions of these services, giving users full control over the external
services used for displaying GitHub statistics and trophies.

## Testing

- Verified that default configuration still works with original service
URLs
- Confirmed that URLs are properly interpolated in all template files
- Documentation clearly explains the configuration options
2026-01-07 11:37:24 -03:00
..
cv Fix typo in Bootstrap small column class usage (#3421) 2026-01-04 18:06:56 -03:00
repository Make external service URLs configurable for repository page (#3422) 2026-01-07 11:37:24 -03:00
resume Fix typo in Bootstrap small column class usage (#3421) 2026-01-04 18:06:56 -03:00
audio.liquid format code with prettier.io (#2048) 2024-01-10 00:10:51 -05:00
bib_search.liquid fix: search_enabled -> bib_search (#2560) 2024-07-12 17:00:48 -03:00
citation.liquid Added post citation (#2377) 2024-04-29 14:28:06 -03:00
disqus.liquid format code with prettier.io (#2048) 2024-01-10 00:10:51 -05:00
distill_scripts.liquid Add sidenote examples, related posts and giscus to distill posts (#3103) 2025-07-16 15:07:42 -03:00
figure.liquid Fix zoom in bibliography images (#3057) 2025-03-11 11:34:58 -03:00
footer.liquid Refactor footer content (#3041) 2025-03-01 21:47:22 -03:00
giscus.liquid Make Giscus light and dark themes configurable via _config.yml (#3270) 2025-08-25 18:17:14 -03:00
head.liquid keep dark mode inside the (site.enable_darkmode) conditional (#3233) 2025-07-21 11:27:21 -03:00
header.liquid Fix prettier complaints 2024-12-02 15:45:38 -03:00
latest_posts.liquid Moved specific information from config to about (#2985) 2025-01-27 17:04:24 -03:00
metadata.liquid add: arXiv social (#3191) 2025-11-16 22:31:18 -03:00
news.liquid Moved specific information from config to about (#2985) 2025-01-27 17:04:24 -03:00
newsletter.liquid Added missing newsletter components (#2913) 2024-12-26 16:49:45 -03:00
pagination.liquid [FIX] Blog Page Navigation (#2841) (#2846) 2024-11-19 19:03:51 -03:00
projects_horizontal.liquid Feat reworked project layout (closing #2246) (#2357) 2024-04-22 21:39:22 -03:00
projects.liquid Feat reworked project layout (closing #2246) (#2357) 2024-04-22 21:39:22 -03:00
related_posts.liquid Add sidenote examples, related posts and giscus to distill posts (#3103) 2025-07-16 15:07:42 -03:00
scripts.liquid Revert duplicate Google Analytics (#3287) 2025-09-01 10:57:16 -03:00
selected_papers.liquid format code with prettier.io (#2048) 2024-01-10 00:10:51 -05:00
social.liquid Add cv PDF link to social icons (#3240) 2025-11-16 22:39:18 -03:00
video.liquid format code with prettier.io (#2048) 2024-01-10 00:10:51 -05:00