From 4e367d73a062d24d9168aa2a3ae342fc415cd6ba Mon Sep 17 00:00:00 2001 From: Michal Vanko Date: Fri, 27 Sep 2024 13:34:07 +0200 Subject: [PATCH] order projects --- .../{2024-08-06-ckvive.md => 2012-08-06-ckvive.md} | 0 ...athon.md => 2014-08-06-košice-peace-marathon.md} | 0 ...tation.md => 2015-03-06-docker-presentation.md} | 0 ...-unstoppable-growth-of-front-end-frameworks.md} | 0 .../{2024-08-06-skosy.md => 2015-06-06-skosy.md} | 0 ...8-06-beinsports.md => 2015-08-06-beinsports.md} | 0 ...-livesport-tv.md => 2015-10-06-livesport-tv.md} | 0 ...-the-web.md => 2015-10-20-spreading-the-web.md} | 0 ...24-08-06-fx-sales.md => 2016-08-06-fx-sales.md} | 0 ...7-03-06-ship-structured-heard-input-process.md} | 0 ...-08-06-responzio.md => 2017-08-06-responzio.md} | 0 ...8-06-manualogic.md => 2018-08-06-manualogic.md} | 0 ...manager.md => 2018-08-06-signal-hub-manager.md} | 0 ...n.md => 2022-08-06-webassembly-presentation.md} | 0 ...nd-escape.md => 2023-04-06-the-grand-escape.md} | 0 ...4-04-23-renaissance-of-hypermedia-systems-1.md} | 0 axum_server/src/pages/project_list.rs | 1 + axum_server/styles/output.css | 5 ----- .../templates/components/blog_post_preview.html | 2 +- axum_server/templates/site_footer.html | 14 +++++++++++--- 20 files changed, 13 insertions(+), 9 deletions(-) rename _projects/{2024-08-06-ckvive.md => 2012-08-06-ckvive.md} (100%) rename _projects/{2024-08-06-košice-peace-marathon.md => 2014-08-06-košice-peace-marathon.md} (100%) rename _projects/{2024-08-06-docker-presentation.md => 2015-03-06-docker-presentation.md} (100%) rename _projects/{2024-08-06-unstoppable-growth-of-front-end-frameworks.md => 2015-03-06-unstoppable-growth-of-front-end-frameworks.md} (100%) rename _projects/{2024-08-06-skosy.md => 2015-06-06-skosy.md} (100%) rename _projects/{2024-08-06-beinsports.md => 2015-08-06-beinsports.md} (100%) rename _projects/{2024-08-06-livesport-tv.md => 2015-10-06-livesport-tv.md} (100%) rename _projects/{2024-08-06-spreading-the-web.md => 2015-10-20-spreading-the-web.md} (100%) rename _projects/{2024-08-06-fx-sales.md => 2016-08-06-fx-sales.md} (100%) rename _projects/{2024-08-06-ship-structured-heard-input-process.md => 2017-03-06-ship-structured-heard-input-process.md} (100%) rename _projects/{2024-08-06-responzio.md => 2017-08-06-responzio.md} (100%) rename _projects/{2024-08-06-manualogic.md => 2018-08-06-manualogic.md} (100%) rename _projects/{2024-08-06-signal-hub-manager.md => 2018-08-06-signal-hub-manager.md} (100%) rename _projects/{2024-08-06-webassembly-presentation.md => 2022-08-06-webassembly-presentation.md} (100%) rename _projects/{2024-08-06-the-grand-escape.md => 2023-04-06-the-grand-escape.md} (100%) rename _projects/{2024-08-06-renaissance-of-hypermedia-systems-1.md => 2024-04-23-renaissance-of-hypermedia-systems-1.md} (100%) diff --git a/_projects/2024-08-06-ckvive.md b/_projects/2012-08-06-ckvive.md similarity index 100% rename from _projects/2024-08-06-ckvive.md rename to _projects/2012-08-06-ckvive.md diff --git a/_projects/2024-08-06-košice-peace-marathon.md b/_projects/2014-08-06-košice-peace-marathon.md similarity index 100% rename from _projects/2024-08-06-košice-peace-marathon.md rename to _projects/2014-08-06-košice-peace-marathon.md diff --git a/_projects/2024-08-06-docker-presentation.md b/_projects/2015-03-06-docker-presentation.md similarity index 100% rename from _projects/2024-08-06-docker-presentation.md rename to _projects/2015-03-06-docker-presentation.md diff --git a/_projects/2024-08-06-unstoppable-growth-of-front-end-frameworks.md b/_projects/2015-03-06-unstoppable-growth-of-front-end-frameworks.md similarity index 100% rename from _projects/2024-08-06-unstoppable-growth-of-front-end-frameworks.md rename to _projects/2015-03-06-unstoppable-growth-of-front-end-frameworks.md diff --git a/_projects/2024-08-06-skosy.md b/_projects/2015-06-06-skosy.md similarity index 100% rename from _projects/2024-08-06-skosy.md rename to _projects/2015-06-06-skosy.md diff --git a/_projects/2024-08-06-beinsports.md b/_projects/2015-08-06-beinsports.md similarity index 100% rename from _projects/2024-08-06-beinsports.md rename to _projects/2015-08-06-beinsports.md diff --git a/_projects/2024-08-06-livesport-tv.md b/_projects/2015-10-06-livesport-tv.md similarity index 100% rename from _projects/2024-08-06-livesport-tv.md rename to _projects/2015-10-06-livesport-tv.md diff --git a/_projects/2024-08-06-spreading-the-web.md b/_projects/2015-10-20-spreading-the-web.md similarity index 100% rename from _projects/2024-08-06-spreading-the-web.md rename to _projects/2015-10-20-spreading-the-web.md diff --git a/_projects/2024-08-06-fx-sales.md b/_projects/2016-08-06-fx-sales.md similarity index 100% rename from _projects/2024-08-06-fx-sales.md rename to _projects/2016-08-06-fx-sales.md diff --git a/_projects/2024-08-06-ship-structured-heard-input-process.md b/_projects/2017-03-06-ship-structured-heard-input-process.md similarity index 100% rename from _projects/2024-08-06-ship-structured-heard-input-process.md rename to _projects/2017-03-06-ship-structured-heard-input-process.md diff --git a/_projects/2024-08-06-responzio.md b/_projects/2017-08-06-responzio.md similarity index 100% rename from _projects/2024-08-06-responzio.md rename to _projects/2017-08-06-responzio.md diff --git a/_projects/2024-08-06-manualogic.md b/_projects/2018-08-06-manualogic.md similarity index 100% rename from _projects/2024-08-06-manualogic.md rename to _projects/2018-08-06-manualogic.md diff --git a/_projects/2024-08-06-signal-hub-manager.md b/_projects/2018-08-06-signal-hub-manager.md similarity index 100% rename from _projects/2024-08-06-signal-hub-manager.md rename to _projects/2018-08-06-signal-hub-manager.md diff --git a/_projects/2024-08-06-webassembly-presentation.md b/_projects/2022-08-06-webassembly-presentation.md similarity index 100% rename from _projects/2024-08-06-webassembly-presentation.md rename to _projects/2022-08-06-webassembly-presentation.md diff --git a/_projects/2024-08-06-the-grand-escape.md b/_projects/2023-04-06-the-grand-escape.md similarity index 100% rename from _projects/2024-08-06-the-grand-escape.md rename to _projects/2023-04-06-the-grand-escape.md diff --git a/_projects/2024-08-06-renaissance-of-hypermedia-systems-1.md b/_projects/2024-04-23-renaissance-of-hypermedia-systems-1.md similarity index 100% rename from _projects/2024-08-06-renaissance-of-hypermedia-systems-1.md rename to _projects/2024-04-23-renaissance-of-hypermedia-systems-1.md diff --git a/axum_server/src/pages/project_list.rs b/axum_server/src/pages/project_list.rs index 22f2f73..9904ae0 100644 --- a/axum_server/src/pages/project_list.rs +++ b/axum_server/src/pages/project_list.rs @@ -18,6 +18,7 @@ pub struct ProjectListTemplate { pub async fn render_projects_list() -> Result { let mut project_list = get_post_list::("../_projects").await?; + project_list.sort_by_key(|post| post.slug.to_string()); project_list.retain(|project| project.metadata.displayed); project_list.reverse(); diff --git a/axum_server/styles/output.css b/axum_server/styles/output.css index f38fa62..c750024 100644 --- a/axum_server/styles/output.css +++ b/axum_server/styles/output.css @@ -728,11 +728,6 @@ video { margin-bottom: 1.25rem; } -.my-6 { - margin-top: 1.5rem; - margin-bottom: 1.5rem; -} - .mb-1 { margin-bottom: 0.25rem; } diff --git a/axum_server/templates/components/blog_post_preview.html b/axum_server/templates/components/blog_post_preview.html index 4a5f545..9a45ed9 100644 --- a/axum_server/templates/components/blog_post_preview.html +++ b/axum_server/templates/components/blog_post_preview.html @@ -15,7 +15,7 @@
{{post.body|description_filter|safe}}
-