aboutsummaryrefslogtreecommitdiff
path: root/pyaggr3g470r/templates/home.html
diff options
context:
space:
mode:
authorCédric Bonhomme <kimble.mandel@gmail.com>2013-10-13 11:51:47 +0200
committerCédric Bonhomme <kimble.mandel@gmail.com>2013-10-13 11:51:47 +0200
commit9df5016226fbcf72e135df22fb54ed54c4c5f29a (patch)
treeb1e9b2a7fc9f67cde5f70e98899bfbb092d14244 /pyaggr3g470r/templates/home.html
parentUpdated about page. Readed article title are using h3 headers and unreaded h1... (diff)
downloadnewspipe-9df5016226fbcf72e135df22fb54ed54c4c5f29a.tar.gz
newspipe-9df5016226fbcf72e135df22fb54ed54c4c5f29a.tar.bz2
newspipe-9df5016226fbcf72e135df22fb54ed54c4c5f29a.zip
First prototype for the /article page.
Diffstat (limited to 'pyaggr3g470r/templates/home.html')
-rw-r--r--pyaggr3g470r/templates/home.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/pyaggr3g470r/templates/home.html b/pyaggr3g470r/templates/home.html
index 76104e68..b6e24a50 100644
--- a/pyaggr3g470r/templates/home.html
+++ b/pyaggr3g470r/templates/home.html
@@ -11,19 +11,19 @@
<div class="row">
<div class="col-xs-6 col-sm-4 col-md-4">
{% if feed.articles[number].readed %}<h3>{% else %}<h1>{% endif %}
- {{ feed.articles[number].title }}<h2>
+ <a href="/article/{{ feed.articles[number].id }}">{{ feed.articles[number].title }}</a><h2>
{% if feed.articles[number].readed %}</h3>{% else %}</h1>{% endif %}
<h6>{{ feed.articles[number].date }}</h6>
</div>
<div class="col-xs-6 col-sm-4 col-md-4">
{% if feed.articles[number+1].readed %}<h3>{% else %}<h1>{% endif %}
- {{ feed.articles[number+1].title }}<h2>
+ <a href="/article/{{ feed.articles[number+1].id }}">{{ feed.articles[number+1].title }}</a><h2>
{% if feed.articles[number+1].readed %}</h3>{% else %}</h1>{% endif %}
<h6>{{ feed.articles[number+1].date }}</h6>
</div>
<div class="col-xs-6 col-sm-4 col-md-4">
{% if feed.articles[number+2].readed %}<h3>{% else %}<h1>{% endif %}
- {{ feed.articles[number+2].title }}<h2>
+ <a href="/article/{{ feed.articles[number+2].id }}">{{ feed.articles[number+2].title }}</a><h2>
{% if feed.articles[number+2].readed %}</h3>{% else %}</h1>{% endif %}
<h6>{{ feed.articles[number+2].date }}</h6>
</div>
bgstack15