Skip to content

Commit 25a169e

Browse files
committed
feat: Add a new base template for jinja
1 parent c5f2ac6 commit 25a169e

File tree

2 files changed

+30
-1
lines changed

2 files changed

+30
-1
lines changed

.pdm-python

Lines changed: 0 additions & 1 deletion
This file was deleted.

src/paste/templates/base.html

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
<head>
4+
<title> {% block title %} {% endblock %} </title>
5+
{% block headlinks %} {% endblock %}
6+
<meta charset="UTF-8"/>
7+
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
8+
<meta name="og:title" content="paste.py 🐍"/>
9+
<meta name="og:site_name" content="paste.py"/>
10+
<meta
11+
name="og:description"
12+
content="A simple pastebin powered by FastAPI."
13+
/>
14+
<meta name="og:type" content="website"/>
15+
<meta name="og:url" content="https://paste.fosscu.org"/>
16+
<meta name="og:locale" content="en_US"/>
17+
<style>
18+
{% block style %}
19+
{% endblock %}
20+
</style>
21+
</head>
22+
<body>
23+
{% block content %}
24+
{% endblock %}
25+
<script>
26+
{% block script %}
27+
{% endblock %}
28+
</script>
29+
</body>
30+
</html>

0 commit comments

Comments
 (0)