about: move layout into page functions

Signed-off-by: John Keeping <john@keeping.me.uk>
This commit is contained in:
John Keeping 2015-08-14 12:47:12 +01:00 committed by Jason A. Donenfeld
parent 764987980e
commit 51d9176e4b
3 changed files with 11 additions and 4 deletions

2
cmd.c
View file

@ -155,7 +155,7 @@ struct cgit_cmd *cgit_get_cmd(void)
static struct cgit_cmd cmds[] = {
def_cmd(HEAD, 1, 0, 0, 1),
def_cmd(atom, 1, 0, 0, 0),
def_cmp(about, 0, 1, 0, 0),
def_cmp(about, 0, 0, 0, 0),
def_cmd(blob, 1, 0, 0, 0),
def_cmd(commit, 1, 1, 1, 0),
def_cmd(diff, 1, 1, 1, 0),