diff options
author | Aaron Griffin <agriffin@datalogics.com> | 2010-02-04 18:08:16 -0600 |
---|---|---|
committer | Lars Hjemli <hjemli@gmail.com> | 2010-03-22 23:46:00 +0100 |
commit | 80476b0d2873eb212fad38487fd6189bd6629cbe (patch) | |
tree | bdacb5527659ebb8296e95dfbe3ea5f74fe3a9ac /cmd.c | |
parent | 65ced7c00907af7e8bd5d239a4fa854a84535520 (diff) |
Add 'max-atom-items' config variable
This allows one to specify the items in the RSS feeds
Signed-off-by: Aaron Griffin <agriffin@datalogics.com>
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
Diffstat (limited to 'cmd.c')
-rw-r--r-- | cmd.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -33,7 +33,7 @@ static void HEAD_fn(struct cgit_context *ctx) static void atom_fn(struct cgit_context *ctx) { - cgit_print_atom(ctx->qry.head, ctx->qry.path, 10); + cgit_print_atom(ctx->qry.head, ctx->qry.path, ctx->cfg.max_atom_items); } static void about_fn(struct cgit_context *ctx) |