Set up base template
This commit is contained in:
parent
feb73c96c4
commit
e17483b4d6
6 changed files with 73 additions and 44 deletions
19
templates/base.html
Normal file
19
templates/base.html
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<title>{% block title %}{% endblock %}</title>
|
||||
<link rel="icon" href="/logo.svg">
|
||||
<link rel="stylesheet" href="{{ base }}/base.css" />
|
||||
{% block head %}{% endblock %}
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<nav>
|
||||
<a href="{{ base }}/"><img src="{{ base }}/logo.svg"> {{ repo_name }}</a>
|
||||
</nav>
|
||||
{% block body %}{% endblock %}
|
||||
</body>
|
||||
|
||||
</html>
|
||||
Loading…
Add table
Add a link
Reference in a new issue