{# GitHub Activity Widget - Tabbed Commits/Repos/Featured/PRs with live API data #} {% set ghFallbackCommits = githubActivity.commits if githubActivity and githubActivity.commits else [] %} {% set ghFallbackFeatured = githubActivity.featured if githubActivity and githubActivity.featured else [] %} {% set ghFallbackContributions = githubActivity.contributions if githubActivity and githubActivity.contributions else [] %} {% set ghFallbackRepos = githubRepos if githubRepos else [] %} {% set id = homepageConfig.identity if (homepageConfig and homepageConfig.identity) else {} %} {% set socialLinks = id.social if (id.social is defined) else site.social %} {% set githubProfileUrl = "" %} {% for link in socialLinks %} {% if not githubProfileUrl and (link.icon == "github" or "github.com/" in link.url) %} {% set githubProfileUrl = link.url %} {% endif %} {% endfor %} {% if not githubProfileUrl and site.feeds.github %} {% set githubProfileUrl = "https://github.com/" + site.feeds.github %} {% endif %}

GitHub

{# Tab buttons — order: Commits, Repos, Featured, PRs #}
{# Tab content — fixed height container to prevent layout shift #}
{# Loading state #}
Loading...
{# Commits Tab #}
No recent commits.
{# Repos Tab #}
No repositories found.
{# Featured Tab #} {# PRs Tab #}
No recent PRs or issues.
{# Footer link #} {% if githubProfileUrl %} View on GitHub {% endif %}