about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--export.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/export.c b/export.c
index 1b6d298..f060c0b 100644
--- a/export.c
+++ b/export.c
@@ -231,11 +231,15 @@ static int exportHTMLBody(
 				&part->parts.ptr[i], dataCheck(body, List).list.ptr[i]
 			);
 		}
-		return exportHTMLBody(
+		struct Data num = { .type = Number, .number = part->parts.len };
+		listPush(section, num);
+		int error = exportHTMLBody(
 			file, envelope, section,
 			&part->parts.ptr[part->parts.len - 1],
 			dataCheck(body, List).list.ptr[part->parts.len - 1]
 		);
+		section->len--;
+		return error;
 
 	} else if (part->multipart) {
 		int error;
6-12/lens?id=a803eccd84cde8678908eb546eb9554e9993dbd4&follow=1'>Add photo descriptions from June 12June McEnroe 2024-06-10Add first roll of film from June 8June McEnroe 2024-06-10Cope with not having an EXIF infoJune McEnroe 2024-06-10Resize using target pixel counts for consistencyJune McEnroe This will resize film scans to about the same size as for the digital photos. 2024-06-10Add The Girl Who Was Convinced...June McEnroe Not much there. The illustrations are very nice though. 2024-06-09Add photos from May 31June McEnroe 2024-06-09Use monospace on photo pagesJune McEnroe 2024-06-09Put lens and (future) film at the tops of photo pagesJune McEnroe 2024-05-22Remove use of sysexits.hJune McEnroe 2024-05-22Add photo descriptions from 05-03 and 05-06June McEnroe 2024-05-21Fix = precedence in whenJune McEnroe