phantasma/app/templates/base.html

36 lines
1.4 KiB
HTML

<!doctype html>{% load sass_tags static %}
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover">
<title>
{% block title %}
Phantas.ma/polis - Looking Back to the Future
{% endblock title %}
</title>
<link href="{% sass_src 'css/style.scss' %}" rel="stylesheet" type="text/css">
{% block head %}{% endblock head %}
</head>
<body class="{% block body_class%}{% endblock %}">
<div class="topnav">
<a href="/polis" class="title animated-title">
<div class="title-text text">
Phantas.ma/polis<span class="hide-mobile">: Looking Back to the Future</span>
</div>
<div class="text">
未之至城<span class="hide-mobile">:回顧未來</span>
</div>
</a>
<nav>
<a href="{% url 'films'%}" class="animated-title"><span class="text">films <span class="hide-mobile">-</span> 影片</span></a>
<a href="{% url 'texts' %}" class="animated-title"><span class="text">assemblies <span class="hide-mobile">-</span> 组件</span></a>
<a href="{% url 'about' %}" class="animated-title"><span class="text">about <span class="hide-mobile">-</span> 關於</span></a>
</nav>
</div>
<main>
{% block main %}{% endblock main %}
</main>
{% block end %}{% endblock end %}
<script src="{% static 'js/animation.js' %}"></script>
</body>
</html>