diff options
author | Bryan Newbold <bnewbold@archive.org> | 2021-04-23 19:01:22 -0700 |
---|---|---|
committer | Bryan Newbold <bnewbold@archive.org> | 2021-04-23 19:03:40 -0700 |
commit | e35e99bceff3277afaac8f2d5519aa4f07aabe49 (patch) | |
tree | a07ff995c7c64362c895dea3933060a832d04c38 /fatcat_scholar/templates/search_macros.html | |
parent | d394c39c6a1b05033029c42377fbf40603b07bbd (diff) | |
download | fatcat-scholar-e35e99bceff3277afaac8f2d5519aa4f07aabe49.tar.gz fatcat-scholar-e35e99bceff3277afaac8f2d5519aa4f07aabe49.zip |
web: initial implementation of work landing page and citation_pdf_url access redirect
The initial intent is to have something that can be used by indexing
services to pull the citation_pdf_url meta tag and bounce to a direct
IA PDF access URL.
For now the landing page stubs are just formatted as SERP results.
Presumbably these will get re-styled at some point and include citation
graph links, etc.
Diffstat (limited to 'fatcat_scholar/templates/search_macros.html')
-rw-r--r-- | fatcat_scholar/templates/search_macros.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fatcat_scholar/templates/search_macros.html b/fatcat_scholar/templates/search_macros.html index 9524d7e..63c988d 100644 --- a/fatcat_scholar/templates/search_macros.html +++ b/fatcat_scholar/templates/search_macros.html @@ -435,7 +435,7 @@ {{ platform_access_button(paper.biblio) }} {# ### COLLAPSED HITS #} - {% if paper._collapsed_count > 0 %} + {% if paper._collapsed_count and paper._collapsed_count > 0 %} <button class="ui basic compact blue labeled icon button serp-button" form="search_form" type="submit" name="collapse_key" value="{{ paper.collapse_key }}"> <i class="ui icon zoom-in"></i> {% trans trimmed count=paper._collapsed_count %} |