Integrate Zola
All checks were successful
Build / build (push) Successful in 5m33s

This commit is contained in:
2024-02-06 14:18:25 +01:00
parent 279c018072
commit ed49c101d3
153 changed files with 466 additions and 37 deletions

20
templates/index.html Normal file
View File

@ -0,0 +1,20 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>{% block title %}{{ config.title }}{% endblock %}</title>
<link rel="stylesheet" href="{{ get_url(path="/style.css") }}">
<link rel="icon" href="favicon.svg">
</head>
<body>
{% block content %}
<ul>
{% for song in section.pages %}
<li><a href="{{ song.permalink }}">{{ song.title }}</a></li>
{% endfor %}
</ul>
{% endblock %}
{% block script %}{% endblock %}
</body>
</html>

8
templates/song.html Normal file
View File

@ -0,0 +1,8 @@
{% extends "index.html" %}
{% block content %}
{% for asset in page.assets %}
{% if asset is matching(page.slug~"[.](html)$") %}
<iframe class="song" src="{{ asset }}"></iframe>
{% endif %}
{% endfor %}
{% endblock %}

View File

View File