From 57ce4a93a879443bec24659d3ec00db6ce7302c3 Mon Sep 17 00:00:00 2001 From: kirbylife Date: Thu, 21 Nov 2019 14:31:04 -0600 Subject: [PATCH] added new headers with comments in lua and tera/jinja --- src/main.rs | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index fa7246b..b8869cf 100644 --- a/src/main.rs +++ b/src/main.rs @@ -25,7 +25,15 @@ use std::env; use std::vec::Vec; use tera::Context; -const TITLES: [&str; 4] = ["/* {} */", "# {}", "// {}", ""]; +const TITLES: [&str; 7] = [ + "/* {} */", + "# {}", + "// {}", + "", + "{# {} #}", + "-- {}", + "--[[ {} --]]", +]; const MAX_POSTS_PER_PAGE: i64 = 20; fn establish_connection() -> PgConnection {