(title: &str)
| 11 | const INDEX_HTML: &str = include_str!("templates/scaffold.html"); |
| 12 | |
| 13 | fn index_html(title: &str) -> String { |
| 14 | INDEX_HTML.replace("__EDGE_TITLE__", title) |
| 15 | } |
| 16 | |
| 17 | pub fn run(name: Option<&str>, bare: bool) -> Result<()> { |
| 18 | let dir = name.unwrap_or("."); |