Tenplates
This commit is contained in:
parent
76b10815e3
commit
b47171f7b2
2 changed files with 3 additions and 3 deletions
|
@ -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?,
|
||||
))
|
||||
}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{% extends "page.html.jinja" %}
|
||||
{% extends "page.jinja.html" %}
|
||||
{% block body %}
|
||||
<h1>Index</h1>
|
||||
<p class="important">
|
||||
|
|
Loading…
Reference in a new issue