From 73ddff4549c6f83d20c4b9568209c13fbd9c0048 Mon Sep 17 00:00:00 2001 From: rhymes Date: Sat, 15 Dec 2018 18:44:29 +0100 Subject: [PATCH] Add a descriptive title to the series links (#1329) It's easy to navigate each part of a series when there only a few of them. It's hard to jump from a part to another if there are many. This change makes it also a little friendlier to accessibility tools. --- app/views/articles/_collection.html.erb | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/app/views/articles/_collection.html.erb b/app/views/articles/_collection.html.erb index 0f2c02cb1..d0416fd93 100644 --- a/app/views/articles/_collection.html.erb +++ b/app/views/articles/_collection.html.erb @@ -7,11 +7,12 @@

Part of a series

<% end %>
- <% @collection.articles.where(published: true).order("published_at ASC").each_with_index do |article,i| %> + <% @collection.articles.where(published: true).order("published_at ASC").each_with_index do |article, i| %> <% end %>