diff options
author | Cédric Bonhomme <cedric@cedricbonhomme.org> | 2014-04-30 10:58:54 +0200 |
---|---|---|
committer | Cédric Bonhomme <cedric@cedricbonhomme.org> | 2014-04-30 10:58:54 +0200 |
commit | f03a9825fc047e2371356d7b1784c65835756c55 (patch) | |
tree | defe05beca3b794e1988787586a584e131689b4c /pyaggr3g470r/templates | |
parent | Added comments. (diff) | |
download | newspipe-f03a9825fc047e2371356d7b1784c65835756c55.tar.gz newspipe-f03a9825fc047e2371356d7b1784c65835756c55.tar.bz2 newspipe-f03a9825fc047e2371356d7b1784c65835756c55.zip |
Link between next and previous articles.
Diffstat (limited to 'pyaggr3g470r/templates')
-rw-r--r-- | pyaggr3g470r/templates/article.html | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/pyaggr3g470r/templates/article.html b/pyaggr3g470r/templates/article.html index 7cbee48a..1ca1ce49 100644 --- a/pyaggr3g470r/templates/article.html +++ b/pyaggr3g470r/templates/article.html @@ -20,6 +20,16 @@ {{ article.content|safe }} </div> <div class="jumbotron"> + <div class="row"> + <div class="col-md-6"> + Next post: <a href="/article/{{ next_article.id }}">{{ next_article.title }}</a> + </div> + <div class="col-md-6 text-right"> + Previous post: <a href="/article/{{ previous_article.id }}">{{ previous_article.title }}</a> + </div> + </div> + </div> + <div class="jumbotron"> <a href="https://api.pinboard.in/v1/posts/add?url={{ article.link }}&description={{ article.title }}" rel="noreferrer" target="_blank"> <img src="/static/img/pinboard.png" title="Share on Pinboard" /> </a> |