summaryrefslogtreecommitdiffstats
path: root/python/fatcat_web
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2019-03-07 02:35:59 -0800
committerBryan Newbold <bnewbold@robocracy.org>2019-03-07 02:35:59 -0800
commit49ac34c2b23ce586c19630999af9f72a976aa7df (patch)
treebfdb33e4ef6dfe9e4ee88b743c0576199e4a63e2 /python/fatcat_web
parent0242d1034933b163f0d48db1e3403e89d15db94e (diff)
downloadfatcat-49ac34c2b23ce586c19630999af9f72a976aa7df.tar.gz
fatcat-49ac34c2b23ce586c19630999af9f72a976aa7df.zip
webface: fix abstracts, description
Diffstat (limited to 'python/fatcat_web')
-rw-r--r--python/fatcat_web/templates/release_view.html11
1 files changed, 6 insertions, 5 deletions
diff --git a/python/fatcat_web/templates/release_view.html b/python/fatcat_web/templates/release_view.html
index b42db4a5..14e50953 100644
--- a/python/fatcat_web/templates/release_view.html
+++ b/python/fatcat_web/templates/release_view.html
@@ -8,15 +8,16 @@
<link rel="canonical" href="https://{{ config.FATCAT_DOMAIN }}/release/{{ entity.ident }}">
<meta name="twitter:card" content="summary">
- <meta name="description" content="{{ release.title }}">
+ <meta name="description" content="Editable catalog of bibliographic and fulltext file metadata">
+ <meta name="title" content="{{ release.title }}">
<meta name="DC.title" content="{{ release.title }}">
<meta name="citation_title" content="{{ release.title }}">
<meta name="twitter:title" content="{{ release.title }}">
<meta name="DC.type" content="{{ release.release_type }}">
- {% if abstracts %}
- <meta name="abstract" content="{{ abstracts[0].content }}">
- <meta name="DC.description" content="{{ abstracts[0].content }}">
- <meta name="twitter:description" content="{{ abstracts[0].content }}">
+ {% if release.abstracts %}
+ <meta name="abstract" content="{{ release.abstracts[0].content }}">
+ <meta name="DC.description" content="{{ release.abstracts[0].content }}">
+ <meta name="twitter:description" content="{{ release.abstracts[0].content }}">
{% endif %}
{% for author in authors %}
<meta name="DC.creator" content="{{ author.raw_name }}">