replaced askama with tera, reworked the whole website and added nixos module
This commit is contained in:
12
templates/showcase.html
Normal file
12
templates/showcase.html
Normal file
@@ -0,0 +1,12 @@
|
||||
{% extends "_layout.html" %}
|
||||
{% block content %}
|
||||
<h1>Project Showcase</h1>
|
||||
<p>Here are some items passed from Rust to the template:</p>
|
||||
|
||||
{% for item in items %}
|
||||
<div class="card">
|
||||
<h3>{{ item.name }}</h3>
|
||||
<p>{{ item.description }}</p>
|
||||
</div>
|
||||
{% endfor %}
|
||||
{% endblock %}
|
||||
Reference in New Issue
Block a user