diff options
Diffstat (limited to 'src/index.html.erb')
-rw-r--r-- | src/index.html.erb | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/index.html.erb b/src/index.html.erb index ca40664..9440e4f 100644 --- a/src/index.html.erb +++ b/src/index.html.erb @@ -6,10 +6,14 @@ Pobierz cały śpiewnik: <a href='<%= path_to 'songbook' %>'>[PDF]</a>. </p> +<p> + Polecamy również: <a href='https://spotkania.tuturutu.net'>Śpiewnik na spotkania śpiewacze w AMT</a>. +</p> + <ul id='songs'> -<%- songs.keys.sort.each do |song_id| -%> +<%- songs.values.sort { |a, b| polish_compare a.title, b.title }.each do |song| -%> <li> - <a href='<%= path_to (song_html song_id) %>'><%= songs[song_id].title %></a> + <a href='<%= path_to (song_html song.id) %>'><%= song.title %></a> </li> <%- end -%> </ul> |