project now creates a static site using python
This commit is contained in:
1 parent
65f63b05d3
commit
aa7ef06858
15 files changed
+1155
-1
No files matched your search
@@ -0,0 +1,39 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
{% set title = (meta.title ~ " | " ~ site.name) if meta.title else site.name %}
|
||||
{% set description = meta.description or site.description %}
|
||||
<title>{{ title }}</title>
|
||||
<meta name="description" content="{{ description }}">
|
||||
<link rel="canonical" href="{{ site.base_url }}{{ url }}">
|
||||
{% if meta.noindex %}
|
||||
<meta name="robots" content="noindex">{% endif %}
|
||||
|
||||
<meta property="og:type" content="website">
|
||||
<meta property="og:site_name" content="{{ site.name }}">
|
||||
<meta property="og:title" content="{{ title }}">
|
||||
<meta property="og:description" content="{{ description }}">
|
||||
<meta property="og:url" content="{{ site.base_url }}{{ url }}">
|
||||
<meta property="og:image" content="{{ site.base_url }}/assets/logo.png">
|
||||
<meta name="twitter:card" content="summary">
|
||||
|
||||
<link rel="icon" href="/assets/logo.png">
|
||||
<link rel="stylesheet" href="/styles/main.css">
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<a class="skip-link" href="#main">Skip to content</a>
|
||||
{% include "partials/header.html" %}
|
||||
<main id="main" tabindex="-1">
|
||||
{% block content %}{{ content|safe }}{% endblock %}
|
||||
</main>
|
||||
{% include "partials/footer.html" %}
|
||||
{% for s in meta.scripts or [] %}
|
||||
<script src="/scripts/{{ s }}" defer></script>
|
||||
{% endfor %}
|
||||
</body>
|
||||
|
||||
</html>
|
||||
Reference in new issue
Block a user