enhancement

reduced recent_uploads to 5 records, added searchbar to frontpage. This closes #47
This commit is contained in:
mb
2020-07-21 14:28:29 +02:00
parent 46faf1a7a5
commit 00145cc0ee
3 changed files with 28 additions and 2 deletions
+1 -1
View File
@@ -26,4 +26,4 @@ def index():
"""Render frontpage view."""
return render_template(
"invenio_theme_tugraz/index.html",
records=FrontpageRecordsSearch()[:10].sort('-_created').execute(),)
records=FrontpageRecordsSearch()[:5].sort('-_created').execute(),)