diff --git a/src/main.rs b/src/main.rs
@@ -59,6 +59,7 @@ fn main() -> io::Result<()> {
}
/// Coordinates the rendering of all the pages and file conversions
+// TODO: Log what the fuck we're doing
fn render_gallery(pics: Vec<Picture>) -> io::Result<()> {
for pic in &pics {
let mut target_path = PathBuf::from(TARGET_PATH);
@@ -115,6 +116,7 @@ fn render_index(pics: &Vec<Picture>) -> io::Result<()> {
write_head(&mut f)?;
for pic in &pics[0..10] {
+ // TODO: Preload mp4 thumbnails for GIF files
writeln!(
f,
"<link rel=\"preload\" as=\"image\" href=\"/{THUMBS_PATH}/{name}.webp\">",
@@ -136,6 +138,7 @@ fn render_index(pics: &Vec<Picture>) -> io::Result<()> {
"<a aria-label=\"{name}\" href=\"/{PAGES_PATH}/{name}.html\">",
name = Escaped(&pic.file_name)
)?;
+ // TODO: Link to mp4 thumbnails for GIF files
writeln!(
f,
"<img alt=\"{alt}\" src=\"/{THUMBS_PATH}/{name}.webp\">",