From 10507a882bfc8b2ce5d4b008542e6e3a04680554 Mon Sep 17 00:00:00 2001 From: Fares Abawi Date: Tue, 23 Jan 2024 15:50:58 +0100 Subject: [PATCH] Added anchor to category sections (#2006) Added anchor to categories so one could navigate to the category section from the URL: e.g., https://alshedivat.github.io/al-folio/projects#fun --- _pages/projects.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/_pages/projects.md b/_pages/projects.md index c781661..183c628 100644 --- a/_pages/projects.md +++ b/_pages/projects.md @@ -14,7 +14,9 @@ horizontal: false {% if site.enable_project_categories and page.display_categories %} {% for category in page.display_categories %} -

{{ category }}

+ +

{{ category }}

+
{% assign categorized_projects = site.projects | where: "category", category %} {% assign sorted_projects = categorized_projects | sort: "importance" %}