From 2e75c11c093a690297c323e869e2edb9e53b3564 Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Fri, 30 Apr 2021 14:18:18 -0700 Subject: web: use absolute URLs to sitemaps and in citation_pdf_url --- fatcat_scholar/static/robots.allow.txt | 4 ++-- fatcat_scholar/templates/work.html | 7 +++---- 2 files changed, 5 insertions(+), 6 deletions(-) (limited to 'fatcat_scholar') diff --git a/fatcat_scholar/static/robots.allow.txt b/fatcat_scholar/static/robots.allow.txt index 35f13a3..fb0c251 100644 --- a/fatcat_scholar/static/robots.allow.txt +++ b/fatcat_scholar/static/robots.allow.txt @@ -13,5 +13,5 @@ User-agent: * Allow: /search Crawl-delay: 5 -Sitemap: /sitemap.xml -Sitemap: /sitemap-index-works.xml +Sitemap: https://scholar.archive.org/sitemap.xml +Sitemap: https://scholar.archive.org/sitemap-index-works.xml diff --git a/fatcat_scholar/templates/work.html b/fatcat_scholar/templates/work.html index 067d23c..8829ec2 100644 --- a/fatcat_scholar/templates/work.html +++ b/fatcat_scholar/templates/work.html @@ -18,7 +18,6 @@ {% if work.biblio.container_name %} {% endif %} - {% if work.biblio.volume %} {% endif %} @@ -32,9 +31,9 @@ {% endif %} {% if work.fulltext.access_url and work.biblio.release_ident == work.fulltext.release_ident and work.fulltext.access_type in ['wayback', 'ia_file'] and work.fulltext.file_mimetype == "application/pdf" and work.fulltext.file_sha1 %} - - - + + + {% endif %} {% endblock %} -- cgit v1.2.3