lib/jekyll/scholar/extras/bibliography_year.rb
# Generate the publication type images.
Generate the publication type images.
Generate the publication type images .
def render_ref_img(item)
        css_points = Hash[{
                            :article => "csl-point-journal-icon",
                            :inproceedings => "csl-point-conference-icon",
                            :incollection=> "csl-point-bookchapter-icon",
                            :techreport => "csl-point-techreport-icon",
                            :book => "csl-point-book-icon"
                          }]
        s = css_points[item.type]
        return s
      end
def render_ref_img ( item ) css_points = Hash [ { :article => "csl-point-journal-icon" , :inproceedings => "csl-point-conference-icon" , :incollection => "csl-point-bookchapter-icon" , :techreport => "csl-point-techreport-icon" , :book => "csl-point-book-icon" } ] s = css_points [ item . type ] return s end
Generate the publication type images.
Generate the publication type images .
item
<not_specific>