aboutsummaryrefslogtreecommitdiff
path: root/source/templates/base.html
diff options
context:
space:
mode:
authorCédric Bonhomme <kimble.mandel@gmail.com>2012-11-28 13:43:00 +0100
committerCédric Bonhomme <kimble.mandel@gmail.com>2012-11-28 13:43:00 +0100
commit8b83decec5d0184e03a306ad1f6b9537cafb3ded (patch)
tree723029ce1e31db7a107e4ebf894c6eca5e211a7a /source/templates/base.html
parentDisplay the number of unread articles in the browser tab (with templates). (diff)
downloadnewspipe-8b83decec5d0184e03a306ad1f6b9537cafb3ded.tar.gz
newspipe-8b83decec5d0184e03a306ad1f6b9537cafb3ded.tar.bz2
newspipe-8b83decec5d0184e03a306ad1f6b9537cafb3ded.zip
Display the title of an article in the tab of the browser (for the /article page).
Diffstat (limited to 'source/templates/base.html')
-rw-r--r--source/templates/base.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/templates/base.html b/source/templates/base.html
index 75776128..3eff5bfe 100644
--- a/source/templates/base.html
+++ b/source/templates/base.html
@@ -2,12 +2,12 @@
<!DOCTYPE html>
<html>
<head>
- %if nb_unread_articles is UNDEFINED:
+ %if header_text is UNDEFINED:
<title>pyAggr3g470r</title>
- %elif nb_unread_articles == 0:
+ %elif header_text == 0:
<title>pyAggr3g470r</title>
%else:
- <title>${nb_unread_articles} - pyAggr3g470r</title>
+ <title>${header_text} - pyAggr3g470r</title>
%endif
<link rel="stylesheet" type="text/css" href="/css/style.css" />
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
bgstack15