35 lines
1.5 KiB
HTML
35 lines
1.5 KiB
HTML
{% load i18n %}{% load compress %}<!doctype html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
|
|
|
{% compress css %}
|
|
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.1/css/bootstrap.min.css" integrity="sha384-WskhaSGFgHYWDcbwN70/dfYBj47jz9qbsMId/iRN3ewGhXQFZCSftd1LZCfmhktB" crossorigin="anonymous">
|
|
<link href="/static/css/font-awesome.min.css" rel="stylesheet">
|
|
<link href="/static/css/pygments-highlight.css" rel="stylesheet">
|
|
{% endcompress %}
|
|
|
|
<title>{% block title %}{% endblock %} - {{ DISPLAY_NAME }}</title>
|
|
</head>
|
|
<body>
|
|
<nav class="navbar navbar-expand-lg navbar-light bg-light">
|
|
<a class="navbar-brand" href="{% url 'index' %}">{{ DISPLAY_NAME }}</a>
|
|
<div class="collapse navbar-collapse" id="navbarSupportedContent">
|
|
<ul class="navbar-nav mr-auto">
|
|
{% block nav %}
|
|
<li class="{% if menu == 'index'%}active{% endif %}"><a class="nav-link" href="{% url 'index' %}">{% trans 'Paste something' %}</a></li>
|
|
{% endblock %}
|
|
</ul>
|
|
<span class="navbar-text">
|
|
{% trans 'powered by' %} <a class="navbar-link" href="https://github.com/setsuna-/pasteque"><b>{{ APP_NAME }}</b></a>
|
|
</span>
|
|
</div>
|
|
</nav>
|
|
<div class="container-fluid">
|
|
{% block content %}{% endblock %}
|
|
</div>
|
|
{% block javascript %}{% endblock %}
|
|
</body>
|
|
</html>
|