added more ways to comment the title

pull/1/head
kirbylife 2019-12-27 19:28:44 -06:00
parent c3e5004ab3
commit aeacae85c3
1 changed files with 3 additions and 1 deletions

View File

@ -3,7 +3,7 @@ extern crate tera;
use rand::Rng; use rand::Rng;
use tera::Context; use tera::Context;
const TITLES: [&str; 9] = [ const TITLES: [&str; 11] = [
"/* {} */", "/* {} */",
"# {}", "# {}",
"// {}", "// {}",
@ -13,6 +13,8 @@ const TITLES: [&str; 9] = [
"--[[ {} --]]", "--[[ {} --]]",
"; {}", "; {}",
"% {}", "% {}",
"{- {} -}",
"(* {} *)",
]; ];
pub fn get_context() -> Context { pub fn get_context() -> Context {