Refactor all templates to dictpress v5 (Rust/Tera templates).
This commit is contained in:
+5
-7
@@ -1,10 +1,8 @@
|
||||
{{ define "message" }}
|
||||
{{ template "header" . }}
|
||||
{% extends "base.html" %}
|
||||
|
||||
{% block content %}
|
||||
<section class="content">
|
||||
<h1>{{ .Data.Title }}</h1>
|
||||
<p>{{ .Data.Description }}</p>
|
||||
<h1>{{ title }}</h1>
|
||||
<p>{{ description }}</p>
|
||||
</section>
|
||||
|
||||
{{ template "footer" . }}
|
||||
{{ end }}
|
||||
{% endblock %}
|
||||
|
||||
Reference in New Issue
Block a user