From 4af121bda35fab1528489380393f59b3f36ff824 Mon Sep 17 00:00:00 2001 From: Christoph Ladurner Date: Tue, 29 Dec 2020 15:40:45 +0100 Subject: [PATCH] feature(ui): add subjects to frontpage article items --- .../templates/invenio_theme_tugraz/index.html | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/invenio_theme_tugraz/templates/invenio_theme_tugraz/index.html b/invenio_theme_tugraz/templates/invenio_theme_tugraz/index.html index 01cd36f..4884dca 100644 --- a/invenio_theme_tugraz/templates/invenio_theme_tugraz/index.html +++ b/invenio_theme_tugraz/templates/invenio_theme_tugraz/index.html @@ -82,11 +82,16 @@
- - {% trans user=userprofile, date=creation_date | dateformat('long')%} - Uploaded on {{date}} - {% endtrans %} - + {%- for s in r.metadata.subjects %} +
{{s.subject}}
+ {%- endfor %} +
+ + {% trans user=userprofile, date=creation_date | dateformat('long')%} + Uploaded on {{date}} + {% endtrans %} + +