summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorQrius <[email protected]>2024-09-26 00:11:05 +0200
committerQrius <[email protected]>2024-09-26 00:11:05 +0200
commit16f0edd24e5b436e0e5894379248a31a6ec1c029 (patch)
tree03f853487a819dcec3b6588906abda9d0dc1ffae /src
parent7050727a2683761beac9e4f123112d62b605db4f (diff)
downloadskaldpress-16f0edd24e5b436e0e5894379248a31a6ec1c029.tar.gz
skaldpress-16f0edd24e5b436e0e5894379248a31a6ec1c029.zip
Fix bug
Diffstat (limited to 'src')
-rw-r--r--src/skaldpress/main.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/skaldpress/main.rs b/src/skaldpress/main.rs
index 57f3106..bd0ebd3 100644
--- a/src/skaldpress/main.rs
+++ b/src/skaldpress/main.rs
@@ -347,7 +347,7 @@ fn compile_file(file_path: &Path, opts: &Opts) -> Result<CompiledFile, Skaldpres
let file_content = match extension {
"md" => format!(r#"html_from_markdown(%"{}"%)"#, file_content),
- content => content.to_string(),
+ _ => file_content.to_string(),
};
let Some(template) = &map.get("template") else {