From 7f5a6e64a865ff2a4de9b5bafeed68a0195597bf Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Wed, 8 Apr 2020 14:45:55 -0700 Subject: tweak desktop style: larger SERP font --- fatcat_covid19/templates/entity_macros.html | 20 +++++++++++++++++--- 1 file changed, 17 insertions(+), 3 deletions(-) (limited to 'fatcat_covid19/templates/entity_macros.html') diff --git a/fatcat_covid19/templates/entity_macros.html b/fatcat_covid19/templates/entity_macros.html index 1c4177c..c4cee62 100644 --- a/fatcat_covid19/templates/entity_macros.html +++ b/fatcat_covid19/templates/entity_macros.html @@ -67,7 +67,7 @@ {# ### AUTHOR ROW #} {% if paper.contrib_names %} -
+
{{ ", ".join(paper.contrib_names[:12]) }} {% if paper.contrib_names|length > 12 %}(+{{ paper.contrib_names|length - 12 }} others){% endif %} @@ -169,13 +169,27 @@
{% if paper.fulltext.thumbnail_url %} - - + {% if paper.fulltext.ia_pdf_url %} + + {% else %} + + {% endif %} +
{% else %} {# No Fulltext #} {% endif %} +{# should we include these little links? + + {% if paper.fulltext.pdf_url %} + mirror + {% endif %} + {% if paper.fulltext.grobid_xml_url %} + xml + {% endif %} + +#}
{% endmacro %} -- cgit v1.2.3