initial commit
This commit is contained in:
23
templates/_layout.html
Normal file
23
templates/_layout.html
Normal file
@ -0,0 +1,23 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
|
||||
<head>
|
||||
{% block head %}
|
||||
<title>{% block fulltitle %}{% block title %}{% endblock %} - {% block sitename %}Demo{% endblock %}{% endblock %}</title>
|
||||
{% block stylesheets %}
|
||||
<link rel="stylesheet" href="/static/style.css" />
|
||||
{% block extrastylesheet %}{% endblock %}
|
||||
{% endblock %}
|
||||
{% endblock %}
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div id="content">{% block content %}{% endblock %}</div>
|
||||
<div id="footer">
|
||||
{% block footer %}
|
||||
© Copyright 2024 by <a href="http://blog.jeffthecoder.xyz/">Jeff</a>.
|
||||
{% endblock %}
|
||||
</div>
|
||||
</body>
|
||||
|
||||
</html>
|
6
templates/index.html
Normal file
6
templates/index.html
Normal file
@ -0,0 +1,6 @@
|
||||
{% extends "_layout.html" %}
|
||||
{% block title %}A simple and silly address prober{% endblock %}
|
||||
{% block content %}
|
||||
<div id="address">{{ address }}</div>
|
||||
<form method="post" action="/reload"><button type="submit">reload</button></form>
|
||||
{% endblock %}
|
Reference in New Issue
Block a user