diff --git a/_includes/components/widgets/github-repos.njk b/_includes/components/widgets/github-repos.njk index 3afeeee..3adf963 100644 --- a/_includes/components/widgets/github-repos.njk +++ b/_includes/components/widgets/github-repos.njk @@ -1,5 +1,9 @@ {# 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 [] %}