From f2e7ea39ac3467ee1bf5631bea53799e17062753 Mon Sep 17 00:00:00 2001 From: Joseph Hunkeler Date: Tue, 20 Aug 2024 09:08:11 -0400 Subject: Pandoc now uses --standalone --- src/stasis_indexer.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/stasis_indexer.c b/src/stasis_indexer.c index 7786b4d..2a3c044 100644 --- a/src/stasis_indexer.c +++ b/src/stasis_indexer.c @@ -269,10 +269,10 @@ int indexer_make_website(struct Delivery *ctx) { // Converts a markdown file to html strcpy(cmd, "pandoc "); - strcat(cmd, fullpath_src); - strcat(cmd, " "); + strcat(cmd, "--standalone "); strcat(cmd, "-o "); strcat(cmd, fullpath_dest); + strcat(cmd, fullpath_src); if (globals.verbose) { puts(cmd); } -- cgit