We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8289e01 commit 7bf8698Copy full SHA for 7bf8698
fastapi-jinja2-template/templates/base.html
@@ -2,13 +2,11 @@
2
<html lang="en">
3
<head>
4
<meta charset="UTF-8">
5
- <title>{% block title %}Color Palette Generator{% endblock %}</title>
+ <title>Random Color Generator</title>
6
<link href="/static/style.css" rel="stylesheet">
7
</head>
8
<body>
9
- <main>
10
- {% block content %}{% endblock content %}
11
- </main>
+ {% block content %}{% endblock content %}
12
<script src="/static/script.js"></script>
13
</body>
14
</html>
fastapi-jinja2-template/templates/color.html
@@ -1,7 +1,5 @@
1
{% extends "base.html" %}
-{% block title %}Random Color: {{ color }}{% endblock %}
-
{% block content %}
<style>
body {
0 commit comments