diff --git a/assets/templates/credits.html b/assets/templates/credits.html
new file mode 100644
index 0000000..698b6eb
--- /dev/null
+++ b/assets/templates/credits.html
@@ -0,0 +1,52 @@
+
+
+
+
+
+
Some People I owe an awful lot to
+
In no particular order, and perhaps not exhaustive:
+
+ - Matthew Thomas
+ - A connoisseur of C# and the Dotnet ecosystem. A mentor and friend. He showed me the deep, dark, hell-hole of
+ Powershell and Azure Pipelines (which are basically reskinned and nerfed Github workflows). When I worked with
+ him, he held nothing but kindness for everyone and was always open to new ideas, no matter how out there they
+ were. His presence gave me the necessary backing to entirely overhaul our noodly pipelines, may they rest
+ unscrambled. Oh, also, Windows user 🤮.
+ - Kirk Kelly
+ - Kirk was to me a friend first, manager last. He supported me without fail in all situations. He cared, and I
+ assume he still does, for those he worked with as firstmost the person they were, coworker last. No matter the
+ scenario he always had sympathy and was a font of knowledge I perhaps didn't take advantage of enough in
+ hindsight. Kirk, among all folks I've met, is one of those I hold in high regard.
+ - Josh Beck
+ - Although I have not spoken to him in many years, he taught me the foundation of all computer knowledge I
+ possess and imparted to me my curiosity for computing. Under him I learned networking (though I never
+ did get my CCNA, perhaps I should get around to that), my fundamentals in Linux, cybersecurity, server
+ management, and the unfun hell of tearing apart old Dell Optiplex computers and many other things. Without him I
+ imagine programming and all other things in computing I care for would not be my main focus today. He nurtured
+ that passion and put up with all sorts of hijinks when I was learning from him. I have not spoken to him in some
+ years, but if in some way, or somehow, he ever comes across this I hope he knows I hold him perhaps the highest
+ among all.
+ - Jacob Sanders
+ - If not for him I think I would be even more "lost in the sauce" as it were. While he did not "teach" me in the
+ traditional sense, he showed me true enterprise applications, pipelines, containerization, better ways to
+ program, and absolutely could hammer the shit out of you with an exe sword in Mordhau. Because of him I
+ luckily didn't spend two years only screwing around on video games (though I did a lot of that), and
+ instead did some productive and worthwhile things. Had I not met him I don't think I would've built up the
+ ability to learn new things as quickly as I can, nor have the interest to do so.
I'm done playing, let's go
+ do some programmy.
~ Jacob Sanders. Also, Mac user 🤮.
+
+
+
+
+{% include "footer.html" %}
+
+
\ No newline at end of file
diff --git a/assets/templates/footer.html b/assets/templates/footer.html
index ba856dd..f483c4c 100644
--- a/assets/templates/footer.html
+++ b/assets/templates/footer.html
@@ -2,6 +2,6 @@
-
+
\ No newline at end of file
diff --git a/src/main.rs b/src/main.rs
index 9d6c8e1..55d66d9 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -3,12 +3,12 @@ use blog::{
markdown::article::{Article, FrontMatter},
page_gen::{
articles::Articles,
- tags::{TagArticles, Tags}, home::Home,
+ tags::{TagArticles, Tags},
},
TemplateRenderer,
};
use clap::Parser;
-use std::{collections::HashMap, fs::copy, path::PathBuf};
+use std::{collections::HashMap, path::PathBuf};
use tera::Tera;
#[derive(Parser, Debug)]
@@ -106,11 +106,17 @@ fn main() -> anyhow::Result<()> {
}
println!("Finished rendering Individual Tag Pages");
+ let empty_context = tera::Context::new();
println!("Rendering Home Page");
- let home_page = Home::render_template(&Home { }, &tera)?;
+ let home_page = tera.render("home.html", &empty_context)?;
write_file(&out_path.join("home.html"), home_page.as_bytes())?;
println!("Finished rendering Home Page");
+ println!("Rendering Credits Page");
+ let credits_page = tera.render("credits.html", &empty_context)?;
+ write_file(&out_path.join("credits.html"), credits_page.as_bytes())?;
+ println!("Finished rendering Home Page");
+
let base_asset_dir = PathBuf::from(concat!(env!("CARGO_MANIFEST_DIR"), "/assets/"));
copy_recursive(&base_asset_dir.join("style/"), &out_path.join("style"))?;
copy_recursive(
diff --git a/src/page_gen/home.rs b/src/page_gen/home.rs
deleted file mode 100644
index 8a63459..0000000
--- a/src/page_gen/home.rs
+++ /dev/null
@@ -1,10 +0,0 @@
-use crate::TemplateRenderer;
-
-pub struct Home {}
-
-impl TemplateRenderer for Home {
- fn render_template(&self, tera: &tera::Tera) -> anyhow::Result