summaryrefslogtreecommitdiff
path: root/client/html
diff options
context:
space:
mode:
authorHunternif <hunternif@gmail.com>2021-09-01 22:46:02 +0100
committerHunternif <hunternif@gmail.com>2021-09-01 22:48:31 +0100
commit59e559fd85c1eb8636bb82c5075c317249fec959 (patch)
treeca25a4bb51d3afec943d948a5a25ae186cadf501 /client/html
parentfff705a6f6e46ccc1590668a67af9df6fee2a257 (diff)
client: add to settings the number of similar posts to load
Diffstat (limited to 'client/html')
-rw-r--r--client/html/settings.tpl10
1 files changed, 10 insertions, 0 deletions
diff --git a/client/html/settings.tpl b/client/html/settings.tpl
index 25ba63a..063331a 100644
--- a/client/html/settings.tpl
+++ b/client/html/settings.tpl
@@ -47,6 +47,16 @@
</li>
<li>
+ <%= ctx.makeNumericInput({
+ text: 'Number of similar posts',
+ name: 'similar-posts',
+ value: ctx.browsingSettings.similarPosts,
+ min: 0,
+ max: 100,
+ }) %>
+ </li>
+
+ <li>
<%= ctx.makeCheckbox({
text: 'Use dark theme',
name: 'dark-theme',