From 80476b0d2873eb212fad38487fd6189bd6629cbe Mon Sep 17 00:00:00 2001 From: Aaron Griffin Date: Fri, 05 Feb 2010 00:08:16 +0000 Subject: Add 'max-atom-items' config variable This allows one to specify the items in the RSS feeds Signed-off-by: Aaron Griffin Signed-off-by: Lars Hjemli --- (limited to 'cmd.c') diff --git a/cmd.c b/cmd.c index 766f903..ad784fc 100644 --- a/cmd.c +++ b/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) -- cgit v0.9.0.2