diff options
author | Aaron Griffin | 2010-02-04 18:08:16 -0600 |
---|---|---|
committer | Lars Hjemli | 2010-03-22 23:46:00 +0100 |
commit | 80476b0d2873eb212fad38487fd6189bd6629cbe (patch) | |
tree | bdacb5527659ebb8296e95dfbe3ea5f74fe3a9ac /cmd.c | |
parent | 65ced7c00907af7e8bd5d239a4fa854a84535520 (diff) | |
download | cgit-80476b0d2873eb212fad38487fd6189bd6629cbe.tar.gz cgit-80476b0d2873eb212fad38487fd6189bd6629cbe.tar.bz2 cgit-80476b0d2873eb212fad38487fd6189bd6629cbe.zip |
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) | |||
33 | 33 | ||
34 | static void atom_fn(struct cgit_context *ctx) | 34 | static void atom_fn(struct cgit_context *ctx) |
35 | { | 35 | { |
36 | cgit_print_atom(ctx->qry.head, ctx->qry.path, 10); | 36 | cgit_print_atom(ctx->qry.head, ctx->qry.path, ctx->cfg.max_atom_items); |
37 | } | 37 | } |
38 | 38 | ||
39 | static void about_fn(struct cgit_context *ctx) | 39 | static void about_fn(struct cgit_context *ctx) |