add tailwindcss

This commit is contained in:
Waylon S. Walker 2024-10-14 19:56:41 -05:00
parent a426df12c0
commit 16e207000f
20 changed files with 2421 additions and 100 deletions

View file

@ -1,24 +1,20 @@
<!-- index.html -->
<!DOCTYPE html>
<html>
<head>
<title>Example</title>
</head>
<body>
<h2>Example</h2>
<p>
{{ data.message }}
</p>
{% extends "base.html" %}
<h3>Items</h3>
<p>
there are {{ data.get('items', [])|length }} items in the list
</p>
<ul>
{% for item in data.get('items', []) %}
<li>{{ item }}</li>
{% endfor %}
</ul>
{% block title %}Another Example{% endblock %}
</body>
</html>
{% block content %}
<h2>Example</h2>
<p>
{{ data.message }}
</p>
<h3>Items</h3>
<p>
there are {{ data.get('items', [])|length }} items in the list
</p>
<ul>
{% for item in data.get('items', []) %}
<li>{{ item }}</li>
{% endfor %}
</ul>
{% endblock %}