Skip to content
Permalink
Browse files
publication_list: Link to fulltext does not need to end with ".pdf"
  • Loading branch information
xuhdev committed Mar 4, 2018
1 parent 334f7de commit 24fad73b37c28c46c76c5aa49c7700173f163282
Showing with 1 addition and 1 deletion.
  1. +1 −1 v7/publication_list/publication_list.py
@@ -216,7 +216,7 @@ def run(self):
'extra_links': extra_links + bibtex_display
}

if 'fulltext' in entry.fields and entry.fields['fulltext'].endswith('.pdf'):
if 'fulltext' in entry.fields:
context['pdf'] = entry.fields['fulltext']

self.site.render_template(

0 comments on commit 24fad73

Please sign in to comment.