Skip to content

Commit eef3948

Browse files
committed
fix readme not formatted properly
1 parent 652b1c9 commit eef3948

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

src/initialize_everything.rs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,11 @@ pub fn init_yes(
5959
.replace("{external_url}", external_url)
6060
.replace("{github_url}", github_url)
6161
.replace("{made_by_url}", made_by_url);
62+
63+
let formatted_readme = CONTENT_README
64+
.replace("{title}", title);
6265

63-
create_file(&format!("{}/readme.md", formatted_string), CONTENT_README);
66+
create_file(&format!("{}/readme.md", formatted_string), &formatted_readme);
6467
create_file(&format!("{}/config.json", formatted_string), &populated_json);
6568

6669
// === === === logo.png // banner.png === === ===

0 commit comments

Comments
 (0)