lib/jekyll/scholar/extras/bibliography_year.rb
# Generate the index using csl-index.
Generate the index using csl-index.
Generate the index using csl - index .
def render_index(item, ref)
        si = '[' + @prefix_defaults[item.type].to_s + @type_counts[item.type].to_s + ']'
        @type_counts[item.type] = @type_counts[item.type].to_i - 1
        idx_html = content_tag "div class=\"csl-index\"", si
        return idx_html + ref
      end
def render_index ( item , ref ) si = '[' + @prefix_defaults [ item . type ] . to_s + @type_counts [ item . type ] . to_s + ']' @type_counts [ item . type ] = @type_counts [ item . type ] . to_i - 1 idx_html = content_tag "div class=\"csl-index\"" , si return idx_html + ref end
Generate the index using csl-index.
Generate the index using csl - index .
item
<not_specific>
ref
<not_specific>