From f5c19727e1fa5f3e692c3e08a6f4cef2ed585760 Mon Sep 17 00:00:00 2001 From: Ricardo Date: Sat, 24 Jan 2026 18:05:11 +0100 Subject: [PATCH] feat: reorder GitHub page sections New order: 1. Featured Projects 2. Recent Commits 3. Contributions/PRs 4. My Repositories 5. Starred Repositories Co-Authored-By: Claude Opus 4.5 --- github.njk | 110 ++++++++++++++++++++++++++--------------------------- 1 file changed, 55 insertions(+), 55 deletions(-) diff --git a/github.njk b/github.njk index b1d52c8..890e832 100644 --- a/github.njk +++ b/github.njk @@ -89,59 +89,6 @@ withSidebar: true {% endif %} - {# Starred Repos Section #} -
-

- - - - Starred Repositories -

- - {% if githubActivity.stars.length %} -
- {% for repo in githubActivity.stars | head(10) %} -
-

- - {{ repo.name }} - -

- - {% if repo.description %} -

{{ repo.description }}

- {% endif %} - -
- {% for topic in repo.topics %} - - {{ topic }} - - {% endfor %} -
- -
- {% if repo.language %} - - - {{ repo.language }} - - {% endif %} - - - - - {{ repo.stars }} - -
-
- {% endfor %} -
- {% else %} -

No starred repositories found.

- {% endif %} -
- {# Recent Commits Section #}

@@ -175,7 +122,7 @@ withSidebar: true {% endif %}

- {# Contributions Section #} + {# Contributions Section (PRs & Issues) #} {% if githubActivity.contributions.length %}

@@ -210,7 +157,7 @@ withSidebar: true {% endif %} {# My Repositories Section #} -
+

@@ -263,4 +210,57 @@ withSidebar: true

No repositories found.

{% endif %}

+ + {# Starred Repos Section #} +
+

+ + + + Starred Repositories +

+ + {% if githubActivity.stars.length %} +
+ {% for repo in githubActivity.stars | head(10) %} +
+

+ + {{ repo.name }} + +

+ + {% if repo.description %} +

{{ repo.description }}

+ {% endif %} + +
+ {% for topic in repo.topics %} + + {{ topic }} + + {% endfor %} +
+ +
+ {% if repo.language %} + + + {{ repo.language }} + + {% endif %} + + + + + {{ repo.stars }} + +
+
+ {% endfor %} +
+ {% else %} +

No starred repositories found.

+ {% endif %} +