aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/stasis_indexer.c4
1 files 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);
}