lib/jekyll/scholar/extras/bibliography_year.rb
# Generate a link if an ACM PDF link exists.
Generate a link if an ACM PDF link exists.
Generate a link if an ACM PDF link exists .
def render_acmpdf_link(entry)
        pdflink =""
        if entry.field?(:acmpdflink)
          pdflink = "<div class=\"pure-button csl-pdf\"><a href=\"" + entry.acmpdflink.to_s + "\">PDF</a></div>"
        end
        return pdflink
      end
def render_acmpdf_link ( entry ) pdflink = "" if entry . field? ( :acmpdflink ) pdflink = "<div class=\"pure-button csl-pdf\"><a href=\"" + entry . acmpdflink . to_s + "\">PDF</a></div>" end return pdflink end
Generate a link if an ACM PDF link exists.
Generate a link if an ACM PDF link exists .
entry
<not_specific>