diff options
author | BonfaceKilz | 2020-12-23 19:55:46 +0300 |
---|---|---|
committer | BonfaceKilz | 2020-12-23 19:55:46 +0300 |
commit | 6a2dbbc003e5adcf885b41674d9ca80fba7fd55b (patch) | |
tree | 3dd7fdf569ecbc2caf317d6712f215f2aa5235f7 /bh20simplewebuploader/main.py | |
parent | 6035681197c42966865730462f5532bcb2704c30 (diff) | |
download | bh20-seq-resource-6a2dbbc003e5adcf885b41674d9ca80fba7fd55b.tar.gz bh20-seq-resource-6a2dbbc003e5adcf885b41674d9ca80fba7fd55b.tar.lz bh20-seq-resource-6a2dbbc003e5adcf885b41674d9ca80fba7fd55b.zip |
Add commits and pubmed articles to feed
Diffstat (limited to 'bh20simplewebuploader/main.py')
-rw-r--r-- | bh20simplewebuploader/main.py | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/bh20simplewebuploader/main.py b/bh20simplewebuploader/main.py index b70f49a..de3ba3f 100644 --- a/bh20simplewebuploader/main.py +++ b/bh20simplewebuploader/main.py @@ -272,9 +272,12 @@ def send_home(): """ Send the front page. """ - return render_template('home.html', menu='HOME', - tweets=get_feed_items("bh20-tweet-score:"), - load_map=True) + return render_template( + 'home.html', menu='HOME', + tweets=get_feed_items("bh20-tweet-score:"), + commits=get_feed_items("bh20-commit-score:"), + pubmed_articles=get_feed_items("bh20-pubmed-score:"), + load_map=True) @app.route('/upload') |