diff --git a/ris2web b/ris2web index 6a425a0..b1159c7 100755 --- a/ris2web +++ b/ris2web @@ -88,6 +88,7 @@ class RIS: self.url = record[24] self.volume = record[25] self.access_date = record[26] + self.zotero_key = record[27] self.init_authors(authors) self.kw = kw self.notes = notes @@ -201,7 +202,8 @@ def citation_html(work_id): pub_date, doi, pub_database, end_page, edition, issue_number, \ alternate_title, local_url, language, id_number, work_type, \ publisher, pub_year, isbn_issn, start_page, short_title, \ - title2, title3, title, doc_type, url, volume, access_date \ + title2, title3, title, doc_type, url, volume, access_date, \ + zotero_key \ FROM citations \ WHERE id = %s", (work_id,)) record = works.fetchone() diff --git a/templates/base.html b/templates/base.html index 703020a..4bd568e 100644 --- a/templates/base.html +++ b/templates/base.html @@ -2,6 +2,7 @@ +{% block header %}{% endblock %} diff --git a/templates/citation.html b/templates/citation.html index 0fafd0d..a385205 100644 --- a/templates/citation.html +++ b/templates/citation.html @@ -1,5 +1,6 @@ {% extends "base.html" %} {% block title %}{{ _('Citation: ') }}{{ record.title|escape }}{% endblock %} +{% block header %}{% endblock %} {%- macro author_block(author, heading, sprop) -%} {{ heading }}