add static files, whitenoise and uvicorn
This commit is contained in:
@@ -3,10 +3,12 @@
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
{% load static %}
|
||||
<title>{% block title %}{% endblock %}</title>
|
||||
<link rel="preconnect" href="https://fonts.googleapis.com">
|
||||
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
||||
<link href="https://fonts.googleapis.com/css2?family=JetBrains+Mono:ital,wght@0,100..800;1,100..800&display=swap" rel="stylesheet">
|
||||
<link rel="stylesheet" href="{% static 'frontend/css/home.css' %}">
|
||||
<script
|
||||
src="https://cdn.jsdelivr.net/npm/htmx.org@2.0.8/dist/htmx.min.js"
|
||||
integrity="sha384-/TgkGk7p307TH7EXJDuUlgG3Ce1UVolAOFopFekQkkXihi5u/6OCvVKyz1W+idaz"
|
||||
|
||||
@@ -3,7 +3,8 @@
|
||||
{% block title %}Home{% endblock %}
|
||||
|
||||
{% block content%}
|
||||
<div>
|
||||
<div class="home">
|
||||
<h1>Ciao</h1>
|
||||
<p>Static CSS is wired up through WhiteNoise. Tweak this file to verify changes.</p>
|
||||
</div>
|
||||
{% endblock %}
|
||||
|
||||
Reference in New Issue
Block a user