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:
Aaron Griffin
2010-02-04 18:08:16 -06:00
committed by Lars Hjemli
父節點 65ced7c009
當前提交 80476b0d28
共有 4 個文件被更改,包括 9 次插入1 次删除

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)