Skip to content

Commit

Permalink
chore: apt naming for template files
Browse files Browse the repository at this point in the history
  • Loading branch information
ankush committed Jun 1, 2024
1 parent 93b3112 commit 4cf221e
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -44,11 +44,11 @@ async fn main() {

fn get_jenv() -> Environment<'static> {
let mut env = Environment::new();
env.add_template("layout", include_str!("./templates/layout.jinja"))
env.add_template("layout", include_str!("./templates/layout.html"))
.unwrap();
env.add_template("home", include_str!("./templates/home.jinja"))
env.add_template("home", include_str!("./templates/home.html"))
.unwrap();
env.add_template("post", include_str!("./templates/post.jinja"))
env.add_template("post", include_str!("./templates/post.html"))
.unwrap();
env.add_template("feed", include_str!("./templates/feed.xml"))
.unwrap();
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 4cf221e

Please sign in to comment.