From 3719fbed365a839d54e9498d82ce63bcfe889b48 Mon Sep 17 00:00:00 2001 From: Serghei Cebotari Date: Sat, 2 Dec 2023 23:38:30 +0300 Subject: [PATCH] Add project weights --- archetypes/projects.md | 1 + content/projects/Gitlytics.md | 1 + content/projects/Paintball.md | 1 + layouts/partials/sections/projects.html | 2 +- 4 files changed, 4 insertions(+), 1 deletion(-) diff --git a/archetypes/projects.md b/archetypes/projects.md index 38178c4..d898b60 100644 --- a/archetypes/projects.md +++ b/archetypes/projects.md @@ -1,5 +1,6 @@ --- title: '{{ replace .File.ContentBaseName `-` ` ` | title }}' +weight: 1 tags: ["Hugo", "HTML", "CSS"] start_date: '{{ .Date }}' end_date : diff --git a/content/projects/Gitlytics.md b/content/projects/Gitlytics.md index edada27..52819c6 100644 --- a/content/projects/Gitlytics.md +++ b/content/projects/Gitlytics.md @@ -1,5 +1,6 @@ --- title: Gitlytics +weight: 1 tags: ["Python", "Flask", "React", "PostgreSQL", "Docker"] start_date: 2020-06-01 end_date : diff --git a/content/projects/Paintball.md b/content/projects/Paintball.md index c0ffb42..1b57d5d 100644 --- a/content/projects/Paintball.md +++ b/content/projects/Paintball.md @@ -1,5 +1,6 @@ --- title: Simple Paintball +weight: 2 tags: ["Spigot API", "Java", "Maven", "TravisCI", "Git"] start_date: 2018-05-01 end_date : 2020-05-01 diff --git a/layouts/partials/sections/projects.html b/layouts/partials/sections/projects.html index 88cf5ea..fb0026c 100644 --- a/layouts/partials/sections/projects.html +++ b/layouts/partials/sections/projects.html @@ -1,6 +1,6 @@ {{ with .Site.GetPage "/projects" }}

Projects

-{{ range sort (.Pages) "Params.start_date" "desc" }} +{{ range .Pages }}