aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSerghei Cebotari <serghei@cebotari.ru>2023-12-02 23:38:30 +0300
committerSerghei Cebotari <serghei@cebotari.ru>2023-12-02 23:38:30 +0300
commit3719fbed365a839d54e9498d82ce63bcfe889b48 (patch)
tree79b4bcff9e8f8c80ea3b218e33215cd418f26282
parentb0a379f559b2864134301b3831af678333cf7670 (diff)
Add project weights
-rw-r--r--archetypes/projects.md1
-rw-r--r--content/projects/Gitlytics.md1
-rw-r--r--content/projects/Paintball.md1
-rw-r--r--layouts/partials/sections/projects.html2
4 files changed, 4 insertions, 1 deletions
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" }}
<h3>Projects</h3>
-{{ range sort (.Pages) "Params.start_date" "desc" }}
+{{ range .Pages }}
<table>
<tbody>
<tr>