<commit_before>- content_for :head do
  = auto_discovery_link_tag :rss, { :controller => :authors, :action => :show, :format => :rss }, { :title => "Books by #{@author.name} on Sutton Bookshare" }

%h1
  = link_to (image_tag 'rss.png'),  :controller => :authors, :action => :show, :format => :rss
  = @page_title = @author.name

- if @author.titles.count > 0  
  %p
    = pluralize(@author.titles.count, "book")
    by this author:

  %table    
    - for title in @author.titles
      %tr
        %td= link_to(image_tag(title.image_url), title_path(title))
        %td
          %span.book_list_title
            = link_to title.title, title_path(title)
          - unless title.subtitle.nil?
            %br
            = title.subtitle
            <commit_msg>Tidied RSS link code<commit_after>- content_for :head do
  = auto_discovery_link_tag :rss, author_path(@author, :format => :rss), { :title => "Books by #{@author.name} on Sutton Bookshare" }

%h1
  = link_to (image_tag 'rss.png'), author_path(@author, :format => :rss)
  = @page_title = @author.name

- if @author.titles.count > 0  
  %p
    = pluralize(@author.titles.count, "book")
    by this author:

  %table    
    - for title in @author.titles
      %tr
        %td= link_to(image_tag(title.image_url), title_path(title))
        %td
          %span.book_list_title
            = link_to title.title, title_path(title)
          - unless title.subtitle.nil?
            %br
            = title.subtitle
            
{'fraction_non_alphanumeric': 0.1386271870794078, 'fraction_numerical': 0.0026917900403768506, 'mean_word_length': 2.4501160092807424, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 15, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1860362', 'n_tokens_mistral': 516, 'n_tokens_neox': 500, 'n_words': 113}