aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@archive.org>2020-10-14 02:34:35 -0700
committerBryan Newbold <bnewbold@archive.org>2020-10-14 02:34:38 -0700
commit66716ff9ca395d1eb9293529d7cdc612ba86bf6e (patch)
treeded9d17acead399fa345cf9f359bc2af26d2df7c
parent26e5245b9fe387ea82c07d9723a5313ccbd945b1 (diff)
downloadfatcat-scholar-66716ff9ca395d1eb9293529d7cdc612ba86bf6e.tar.gz
fatcat-scholar-66716ff9ca395d1eb9293529d7cdc612ba86bf6e.zip
serp: entire header links to page for SIM page hits
This was cleverly splitting the "Page NNN" part to be a page-level link, and the rest of the title as the issue-level, but this is too complex (and not visible to user).
-rw-r--r--fatcat_scholar/templates/search_macros.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/fatcat_scholar/templates/search_macros.html b/fatcat_scholar/templates/search_macros.html
index a10c2a1..9559303 100644
--- a/fatcat_scholar/templates/search_macros.html
+++ b/fatcat_scholar/templates/search_macros.html
@@ -61,7 +61,7 @@
{% endif %}
{% elif paper.doc_type == "sim_page" %}
- <a target="_blank" rel="noopener" href="https://archive.org/details/{{ paper.ia_sim.issue_item }}/page/{{ paper.ia_sim.first_page }}" style="color: #2224c7;">Page {{ paper.ia_sim.first_page }}</a> <a target="_blank" rel="noopener" href="https://archive.org/details/{{ paper.ia_sim.issue_item }}" style="color: #2224c7;">of {{ paper.biblio.container_name }} Vol. {{ paper.biblio.volume }}, Issue {{ paper.biblio.issue }}</a>
+ <a target="_blank" rel="noopener" href="https://archive.org/details/{{ paper.ia_sim.issue_item }}/page/{{ paper.ia_sim.first_page }}" style="color: #2224c7;">Page {{ paper.ia_sim.first_page }} of {{ paper.biblio.container_name }} Vol. {{ paper.biblio.volume }}, Issue {{ paper.biblio.issue }}</a>
<span style="font-weight: normal; text-transform: uppercase; font-weight: bold;">[{{ _("page") }}]</span>
{% endif %}