aboutsummaryrefslogtreecommitdiff
path: root/source/static
diff options
context:
space:
mode:
Diffstat (limited to 'source/static')
-rw-r--r--source/static/templates/article.html6
1 files changed, 5 insertions, 1 deletions
diff --git a/source/static/templates/article.html b/source/static/templates/article.html
index 123aaa9f..ec0addb9 100644
--- a/source/static/templates/article.html
+++ b/source/static/templates/article.html
@@ -19,7 +19,11 @@
</div>
<hr />
- <a href="/article/${feed['feed_id']}:${article['article_id']}/?plain_text=1">Plain text</a>
+ %if plain_text == "1":
+ <a href="/article/${feed['feed_id']}:${article['article_id']}">HTML version</a>
+ %else:
+ <a href="/article/${feed['feed_id']}:${article['article_id']}/?plain_text=1">Plain text</a>
+ %endif
- <a href="/epub/${feed['feed_id']}:${article['article_id']}">Export to EPUB</a>
<br />
<a href="${article['article_link']}">Complete story</a>
bgstack15