This commit is contained in:
20
templates/index.html
Normal file
20
templates/index.html
Normal 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
8
templates/song.html
Normal 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 %}
|
0
templates/taxonomy_list.html
Normal file
0
templates/taxonomy_list.html
Normal file
0
templates/taxonomy_single.html
Normal file
0
templates/taxonomy_single.html
Normal file
Reference in New Issue
Block a user