Tenplates

This commit is contained in:
Daniel Flanagan 2024-05-14 17:14:37 -05:00
parent 76b10815e3
commit b47171f7b2
2 changed files with 3 additions and 3 deletions

View file

@ -42,7 +42,7 @@ async fn index(State(state): State<AppState>) -> Result<Html<String>> {
Ok(Html(
state
.templates
.render("pages/index.html.jinja", context!())
.render("pages/index.jinja.html", context!())
.await?,
))
}
@ -50,7 +50,7 @@ async fn about(State(state): State<AppState>) -> Result<Html<String>> {
Ok(Html(
state
.templates
.render("pages/about.html.jinja", context!())
.render("pages/about.jinja.html", context!())
.await?,
))
}

View file

@ -1,4 +1,4 @@
{% extends "page.html.jinja" %}
{% extends "page.jinja.html" %}
{% block body %}
<h1>Index</h1>
<p class="important">