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>
This commit is contained in:
committed by
Lars Hjemli
parent
65ced7c009
commit
80476b0d28
2
cmd.c
2
cmd.c
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user