aboutsummaryrefslogtreecommitdiff
path: root/_includes/music-listing.html
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2021-01-01 22:17:00 -0300
committerEuAndreh <eu@euandre.org>2021-01-01 22:22:30 -0300
commit8344825a7b4d006fb6a163d87636b589d8af25cc (patch)
tree2f9bd12b7bc64c661f6d2332bbf618dcfce584b4 /_includes/music-listing.html
parentpost.html: Add trailing '/' to source tag (diff)
downloadeuandre.org-8344825a7b4d006fb6a163d87636b589d8af25cc.tar.gz
euandre.org-8344825a7b4d006fb6a163d87636b589d8af25cc.tar.xz
Add support for "Music"
Diffstat (limited to '')
-rw-r--r--_includes/music-listing.html20
1 files changed, 20 insertions, 0 deletions
diff --git a/_includes/music-listing.html b/_includes/music-listing.html
new file mode 100644
index 0000000..fc50888
--- /dev/null
+++ b/_includes/music-listing.html
@@ -0,0 +1,20 @@
+<h3>
+ {{ site.t.music.scores[page.lang] }}
+</h3>
+
+<ul class="no-style">
+
+{% for m in site.musics | sort: "composer" %}
+ <li>
+ {{ m.composer }}
+ <br />
+ <a href="{% link music/{{ m.ref }}.pdf %}">{{ m.title }}</a>
+ <br />
+ <audio controls>
+ <source src="{% link music/{{ m.ref }}.ogg %}" type="audio/ogg" />
+ </audio>
+ <!-- <strong>{{ m.title }}</strong> - -->
+ <!-- <a href="{% link music/{{ m.ref }}.ogg %}">Audio</a> -->
+ </li>
+{% endfor %}
+</ul>