Make most links typesafe
This commit is contained in:
parent
30ddf1e9b2
commit
e64ea7ac12
10 changed files with 82 additions and 100 deletions
|
|
@ -5,17 +5,17 @@
|
|||
<meta charset="utf-8" />
|
||||
<meta name="viewport" content="width=device-width" />
|
||||
<title>{% block title %}{% endblock %} - {{ base.repo_name }}</title>
|
||||
<link rel="icon" href="{{ base.root }}/logo.svg">
|
||||
<link rel="stylesheet" href="{{ base.root }}/base.css" />
|
||||
<link rel="icon" href="{{ base.link_logo_svg }}">
|
||||
<link rel="stylesheet" href="{{ base.link_base_css }}" />
|
||||
{% block head %}{% endblock %}
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<nav>
|
||||
<a href="{{ base.root }}/" {% if base.current=="index" %} class="current" {% endif %}>
|
||||
<img src="{{ base.root }}/logo.svg" alt="">{{ base.repo_name }}
|
||||
<a href="{{ base.link_index }}" {% if base.tab=="index" %} class="current" {% endif %}>
|
||||
<img src="{{ base.link_logo_svg }}" alt="">{{ base.repo_name }}
|
||||
</a>
|
||||
<a href="{{ base.root }}/queue/" {% if base.current=="queue" %} class="current" {% endif %}>
|
||||
<a href="{{ base.link_queue }}" {% if base.tab=="queue" %} class="current" {% endif %}>
|
||||
queue
|
||||
</a>
|
||||
</nav>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue