summaryrefslogtreecommitdiff
path: root/src/templates
diff options
context:
space:
mode:
Diffstat (limited to 'src/templates')
-rw-r--r--src/templates/templates/communityfeed.ftl3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/templates/templates/communityfeed.ftl b/src/templates/templates/communityfeed.ftl
index 7c68771..71b33bc 100644
--- a/src/templates/templates/communityfeed.ftl
+++ b/src/templates/templates/communityfeed.ftl
@@ -2,7 +2,8 @@
<div id="thefeed">
<h2>Discussion Forum</h2>
- <#assign threads = feeddata.getThreads(chapter)>
+ <#assign max_threads = 5>
+ <#assign threads = feeddata.getThreads(chapter, max_threads)>
<#list threads as thread>
<#assign messages = feeddata.getMessages(chapter, thread.id)>
<article>