aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--fatcat_scholar/templates/base.html3
-rw-r--r--fatcat_scholar/templates/home.html8
-rw-r--r--settings.toml2
3 files changed, 7 insertions, 6 deletions
diff --git a/fatcat_scholar/templates/base.html b/fatcat_scholar/templates/base.html
index 8167c86..1bd7b9e 100644
--- a/fatcat_scholar/templates/base.html
+++ b/fatcat_scholar/templates/base.html
@@ -3,7 +3,8 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0">
- <meta name="referrer" content="origin-when-cross-origin">
+ {# the 'no-referrer' here is for old browsers #}
+ <meta name="referrer" content="no-referrer, strict-origin-when-cross-origin">
{% if settings.ONION_DOMAIN %}
<meta http-equiv="onion-location" content="//{{ settings.ONION_DOMAIN }}">
{%- endif %}
diff --git a/fatcat_scholar/templates/home.html b/fatcat_scholar/templates/home.html
index e7b629d..71cd746 100644
--- a/fatcat_scholar/templates/home.html
+++ b/fatcat_scholar/templates/home.html
@@ -52,7 +52,7 @@
<img src="/static/thumbnail-c9e87f84.jpg" alt="{{ _("PDF thumbnail") }}">
</a>
<div class="content">
- <a class="header" style="font-size: 1.1em;">Children are not little adults: blood transfusion in children with burn injury</a>
+ <a class="header" href="https://web.archive.org/web/20171006225602/https://burnstrauma.biomedcentral.com/track/pdf/10.1186/s41038-017-0090-z?site=burnstrauma.biomedcentral.com" target="_blank" rel="noopener" style="font-size: 1.1em;">Children are not little adults: blood transfusion in children with burn injury</a>
Tina L. Palmieri
<div class="meta">
<span>2017</span>
@@ -66,7 +66,7 @@
<img src="/static/thumbnail-1e13eaf1.jpg" alt="{{ _("PDF thumbnail") }}">
</a>
<div class="content">
- <a class="header" style="font-size: 1.1em;">Epidemic Influenza in and around the City of Calcutta</a>
+ <a class="header" href="https://web.archive.org/web/20200328205104/http://europepmc.org/backend/ptpmcrender.fcgi?accid=PMC5180799&blobtype=pdf" target="_blank" rel="noopener" style="font-size: 1.1em;">Epidemic Influenza in and around the City of Calcutta</a>
Koilas Chandra Bose
<div class="meta">
<span>1920</span>
@@ -80,7 +80,7 @@
<img src="/static/thumbnail-60cd26da.jpg" alt="{{ _("PDF thumbnail") }}">
</a>
<div class="content">
- <a class="header" style="font-size: 1.1em;">BioTorrents: A File Sharing Service for Scientific Data</a>
+ <a class="header" href="https://web.archive.org/web/2017/http://journals.plos.org/plosone/article/file?id=10.1371/journal.pone.0010071&type=printable" target="_blank" rel="noopener" style="font-size: 1.1em;">BioTorrents: A File Sharing Service for Scientific Data</a>
Morgan Langille, et al
<div class="meta">
<span>2012</span>
@@ -94,7 +94,7 @@
<img src="/static/thumbnail-7a56065b.jpg" alt="{{ _("PDF thumbnail") }}">
</a>
<div class="content">
- <a class="header" style="font-size: 1.1em;">ブドウサンショウ抽出物の抗SARS-CoV活性</a>
+ <a class="header" href="https://web.archive.org/web/20180730094628/https://www.jstage.jst.go.jp/article/hrj/10/2/10_2_267/_pdf" target="_blank" rel="noopener" style="font-size: 1.1em;">ブドウサンショウ抽出物の抗SARS-CoV活性</a>
Takaaki Maeda, et al
<div class="meta">
<span>2011</span>
diff --git a/settings.toml b/settings.toml
index 07ba1bd..83be040 100644
--- a/settings.toml
+++ b/settings.toml
@@ -63,7 +63,7 @@ KAFKA_BROKERS = ["wbgrp-svc263.us.archive.org"]
[prod]
SCHOLAR_ENV = "prod"
-ONION_DOMAIN = "scholar.archivev3qli37bju4rlh27glh24lljyezwxf4pokmrdbpefjlcrp5id.onion"
+#ONION_DOMAIN = "scholar.archivev3qli37bju4rlh27glh24lljyezwxf4pokmrdbpefjlcrp5id.onion"
ELASTICSEARCH_QUERY_BASE = "http://localhost:9292"
ELASTICSEARCH_QUERY_FULLTEXT_INDEX = "scholar_fulltext"
ELASTICSEARCH_QUERY_PREFERENCE = "_local"