diff options
author | Bryan Newbold <bnewbold@robocracy.org> | 2019-03-07 02:35:59 -0800 |
---|---|---|
committer | Bryan Newbold <bnewbold@robocracy.org> | 2019-03-07 02:35:59 -0800 |
commit | 49ac34c2b23ce586c19630999af9f72a976aa7df (patch) | |
tree | bfdb33e4ef6dfe9e4ee88b743c0576199e4a63e2 | |
parent | 0242d1034933b163f0d48db1e3403e89d15db94e (diff) | |
download | fatcat-49ac34c2b23ce586c19630999af9f72a976aa7df.tar.gz fatcat-49ac34c2b23ce586c19630999af9f72a976aa7df.zip |
webface: fix abstracts, description
-rw-r--r-- | python/fatcat_web/templates/release_view.html | 11 |
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 }}"> |