replaced askama with tera, reworked the whole website and added nixos module
This commit is contained in:
@@ -1,16 +1,20 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="{{ lang }}">
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8"/>
|
||||
<title>{% block title %}Dynamic Form{% endblock %}</title>
|
||||
<title>{{ title }}</title>
|
||||
<link rel="stylesheet" href="_base.css">
|
||||
<style>
|
||||
/*<![CDATA[*/
|
||||
{%~ include "_layout.css" ~%}
|
||||
/*]]>*/
|
||||
{% include "_base.css" %}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
{% block content %}{% endblock %}
|
||||
<nav>
|
||||
<a href="/">Home</a>
|
||||
<a href="/showcase">Showcase</a>
|
||||
</nav>
|
||||
<main>
|
||||
{% block content %}{% endblock %}
|
||||
</main>
|
||||
<footer>Quick rust website template</footer>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user