59 lines
2.5 KiB
HTML
59 lines
2.5 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en" class="h-100">
|
|
<head>
|
|
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
|
|
<meta charset="utf-8" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no" />
|
|
<meta name="description" content="" />
|
|
<meta name="author" content="{{ author }}" />
|
|
<title>{{ title }}</title>
|
|
<link rel="icon" type="image/png" href="{{ favicon }}" />
|
|
|
|
{% load django_bootstrap5 %}
|
|
{% bootstrap_css %}
|
|
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.1/font/bootstrap-icons.css">
|
|
|
|
{% load static %}
|
|
<link href="{% static 'cover.css' %}" rel="stylesheet">
|
|
</head>
|
|
<body class="d-flex h-100 text-center text-light">
|
|
|
|
<div class="cover-container d-flex w-100 h-100 p-3 mx-auto flex-column">
|
|
<header class="mb-auto">
|
|
<div>
|
|
<h3 class="masthead-brand float-md-start mb-0"><a href="{{ heading.link }}"><img style="width: 12rem" src="https://c0defox.es/paw-tail.svg" /></a></h3>
|
|
<nav class="nav nav-masthead justify-content-center float-md-end">
|
|
<a class="nav-link fw-bold py-1 px-0 active" href="{{ heading.link }}"><i class="bi bi-house-door-fill"></i> Home</a>
|
|
|
|
{% for link in nav_links %}
|
|
<a class="nav-link fw-bold py-1 px-0" href="{{ link.value }}" title="{{ link.title }}"><i class="bi bi-{{ link.bootstrap_icon_class }}"></i> {{ link.text }}</a>{% endfor %}
|
|
</nav>
|
|
</div>
|
|
</header>
|
|
|
|
<main role="main" class="px-3">
|
|
<h1 class="cover-heading"><a href="{{ heading.link }}"><img src="{{ favicon }}?s=200" /></a></h1>
|
|
<h1 class="cover-heading">{{ heading.main }}</h1>
|
|
<p class="lead">{{ heading.secondary }}</p>
|
|
<p class="lead"></p>{% if links %}
|
|
<p class="lead">Here's some ways to get in touch with me</p>
|
|
<p class="lead">{% for link in links %}
|
|
<a href="{{ link.value }}" class="btn btn-secondary"><i class="bi bi-{{ link.bootstrap_icon_class }}"></i> {{ link.title }}</a>{% endfor %}
|
|
</p>{% endif %}
|
|
</main>
|
|
|
|
{% if alert %}
|
|
{% bootstrap_alert alert.data alert_type=alert.level %}
|
|
{% endif %}
|
|
|
|
{% if footer %}
|
|
<footer class="mt-auto text-white-50">
|
|
<p>{{ footer }}</p>
|
|
</footer>
|
|
{% endif %}
|
|
</div>
|
|
|
|
{% bootstrap_javascript %}
|
|
</body>
|
|
</html>
|