Add navbar
This commit is contained in:
parent
926c2370c6
commit
77f2baea38
|
@ -5,13 +5,22 @@
|
||||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
|
|
||||||
|
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/fork-awesome@1.2.0/css/fork-awesome.min.css" integrity="sha256-XoaMnoYC5TH6/+ihMEnospgm0J1PM/nioxbOUdnM8HY=" crossorigin="anonymous">
|
||||||
|
|
||||||
<style type="text/css">
|
<style type="text/css">
|
||||||
body{
|
body {
|
||||||
font-family: monospace;
|
font-family: monospace;
|
||||||
margin:40px auto;max-width:700px;line-height:1.6;font-size:18px;color:#444;padding:0 10px}
|
margin: 40px auto;
|
||||||
h1,h2,h3{line-height:1.2}
|
max-width: 1040px;
|
||||||
.text-nowrap { white-space:nowrap; }
|
line-height: 1.6;
|
||||||
.text-end { text-align: right; }
|
font-size: 18px;
|
||||||
|
color: #444;
|
||||||
|
padding: 0 10px
|
||||||
|
}
|
||||||
|
h1, h2, h3{line-height:1.2}
|
||||||
|
.text-nowrap { white-space:nowrap; }
|
||||||
|
.text-end { text-align: right; }
|
||||||
|
// img { max-width: 100%; height: auto; }
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
<title>{% block title %}Xanadu{% endblock %}</title>
|
<title>{% block title %}Xanadu{% endblock %}</title>
|
||||||
|
@ -21,10 +30,11 @@ body{
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
|
{% include "navbar.html" %}
|
||||||
{% block content %}
|
{% block content %}
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
{% block scripts %}
|
{% block script %}
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
</body>
|
</body>
|
||||||
|
|
5
templates/navbar.html
Normal file
5
templates/navbar.html
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
<p>
|
||||||
|
<a href="{{ url_for("index") }}">home</a>
|
||||||
|
| <a href="{{ url_for("events_page") }}">events</a>
|
||||||
|
| <a href="{{ url_for("top_speakers_page") }}">speakers</a>
|
||||||
|
</p>
|
Loading…
Reference in a new issue