aboutsummaryrefslogtreecommitdiff
path: root/source/templates
diff options
context:
space:
mode:
Diffstat (limited to 'source/templates')
-rw-r--r--source/templates/feed.html13
1 files changed, 8 insertions, 5 deletions
diff --git a/source/templates/feed.html b/source/templates/feed.html
index cc3f6fb7..ebe4b2fa 100644
--- a/source/templates/feed.html
+++ b/source/templates/feed.html
@@ -5,7 +5,11 @@ import utils
%>
<div class="left inner">
<p>The feed <b>${feed['feed_title']}</b> contains <b>${format(nb_articles_feed, ',d')}</b> articles.
- Representing ${round((nb_articles_feed / nb_articles_total) * 100, 4)} percent of the total (${format(nb_articles_total, ',d')}).</p>
+ Representing ${round((nb_articles_feed / nb_articles_total) * 100, 4)} percent of the total (${format(nb_articles_total, ',d')} articles).
+ <br />
+ Address of the feed: <a href="${feed['feed_link']}">${feed['feed_link']}</a>.
+ <br />
+ Address of the site: <a href="${feed['site_link']}">${feed['site_link']}</a>.</p>
%if articles:
<p>${(nb_unread_articles_feed == 0 and ["All articles are read"] or [str(nb_unread_articles_feed) + " unread article" + (nb_unread_articles_feed == 1 and [""] or ["s"])[0]])[0]}.</p>
@@ -17,9 +21,8 @@ import utils
%endif
%if articles != []:
- <p>The last article was posted ${elapsed.days} day(s) ago.</p>
- <p>Daily average: ${average}, between the ${first_post_date.strftime('%Y-%m-%d')} and the ${end_post_date.strftime('%Y-%m-%d')}.</p>
-
+ <p>The last article was posted ${elapsed.days} day(s) ago.<br />
+ Daily average: ${average}, between the ${first_post_date.strftime('%Y-%m-%d')} and the ${end_post_date.strftime('%Y-%m-%d')}.</p>
<br />
<h1>Recent articles</h1>
@@ -121,4 +124,4 @@ import utils
<input type="number" name="word_size" value="${word_size}" min="2" max="15" step="1" size="2">
</form>
<div style="width: 35%; overflow:hidden; text-align: justify">${tag_cloud}</div>
- %endif \ No newline at end of file
+ %endif
bgstack15