diff --git a/_posts/blog/2022-02-13-ive-started-streaming-weekly-06-2022.md b/_posts/blog/2022-02-13-ive-started-streaming-weekly-06-2022.md index ebd6bc1..6f08740 100644 --- a/_posts/blog/2022-02-13-ive-started-streaming-weekly-06-2022.md +++ b/_posts/blog/2022-02-13-ive-started-streaming-weekly-06-2022.md @@ -38,7 +38,9 @@ I've set a new **sub goal** for buying a streaming PC. I'll buy it when the stre Last week I've been showing off new headphones that I've ordered and the *YouTube* algorithm has been suggesting great videos on the topic since. I will give another shoutout. This time it is to [Joshua's Valour *YouTube* channel](https://www.youtube.com/channel/UCx9bOYEjkevIDYONBAstK-A) - +
My next pick will be a [podcast *Lifespan* hosted by Dr. David Sinclair](https://open.spotify.com/show/3PkkSdQE8DfeiKvSk1Mg1J) where he talks about what we can do and how should we treat our bodies to live a longer and healthier life. diff --git a/axum_server/Cargo.toml b/axum_server/Cargo.toml index 5e4375b..4329f2d 100644 --- a/axum_server/Cargo.toml +++ b/axum_server/Cargo.toml @@ -24,6 +24,7 @@ image = "0.25.2" anyhow = "1.0.86" rayon = "1.10.0" syntect = "5.2.0" +indoc = "2.0.5" [build] rustflags = ["-Z", "threads=8"] diff --git a/axum_server/src/main.rs b/axum_server/src/main.rs index 3f41ee8..cc561b6 100644 --- a/axum_server/src/main.rs +++ b/axum_server/src/main.rs @@ -53,8 +53,6 @@ async fn main() { // TODO Socials // - fotos -// TODO ul li article styles -// TODO header height difference // TODO Colors // TODO print css and other 404 css linked in base.html // TODO go live pipeline diff --git a/axum_server/src/picture_generator/picture_markup_generator.rs b/axum_server/src/picture_generator/picture_markup_generator.rs index 4395b51..d6db6e3 100644 --- a/axum_server/src/picture_generator/picture_markup_generator.rs +++ b/axum_server/src/picture_generator/picture_markup_generator.rs @@ -5,6 +5,7 @@ use std::{ use anyhow::Context; use image::{image_dimensions, ImageReader}; +use indoc::formatdoc; use super::{ export_format::ExportFormat, image_generator::generate_images, @@ -66,7 +67,7 @@ pub fn generate_picture_markup( .map(|format| { let srcset = generate_srcset(&path_to_generated, format, &resolutions); let format_type = format.get_type(); - format!( + formatdoc!( r#"