Files
hayflow/templates/base.html
2024-09-15 22:36:35 -05:00

36 lines
1.3 KiB
HTML

{% import "macros.html" as macro -%}
{% set author = macro::format_name(name=config.extra.name) | striptags -%}
<!DOCTYPE html>
<html lang="{{ lang }}">
<head>
<meta charset="utf-8">
<meta name="author" content="{{ author }}">
<meta name="description" content="{{ author }}'s landing page">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="icon" href="{{ config.base_url }}/favicon.svg">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/modern-normalize/modern-normalize.min.css">
<link rel="stylesheet" type="text/css" href="{{ config.base_url }}/style.css">
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Roboto&display=swap">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.3.0/css/all.min.css" />
<title>{{ author }}</title>
</head>
<body>
{% block content %}{% endblock -%}
<!-- credits -->
<div class="card">Hayflow Theme by Cyril Marpaud, licensed under <a href="https://gitea.aaw3.dev/allen/hayflow/src/branch/main/LICENSE">CC BY-SA 4.0</a></div>
<script src="https://cdn.jsdelivr.net/particles.js/2.0.0/particles.min.js"></script>
<script src="/js/main.js"></script>
<script>
particlesJS.load('particles', '{{ config.base_url | safe }}/particles.json', null);
</script>
</body>
</html>