m-chrzan.xyz
aboutsummaryrefslogtreecommitdiff
path: root/templates/tag.html.erb
diff options
context:
space:
mode:
Diffstat (limited to 'templates/tag.html.erb')
-rw-r--r--templates/tag.html.erb9
1 files changed, 9 insertions, 0 deletions
diff --git a/templates/tag.html.erb b/templates/tag.html.erb
new file mode 100644
index 0000000..829be5d
--- /dev/null
+++ b/templates/tag.html.erb
@@ -0,0 +1,9 @@
+<h2><%= tag %></h2>
+<ul>
+<%- songs.each do |song| -%>
+ <li>
+ <a href='../<%= song.metadata_filename.sub /yaml$/, 'html' %>'>
+ <%= song.title %>
+ </a>
+ </li>
+<%- end -%>