mirror of
https://git.zx2c4.com/cgit
synced 2025-06-21 01:25:46 +02:00
about: always ensure page has a trailing slash
Otherwise we can't easily embed links to other /about/ pages. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
This commit is contained in:
parent
13c2d3df04
commit
d7034806a4
5 changed files with 26 additions and 2 deletions
2
cmd.h
2
cmd.h
|
@ -2,10 +2,12 @@
|
|||
#define CMD_H
|
||||
|
||||
typedef void (*cgit_cmd_fn)(void);
|
||||
typedef void (*cgit_cmd_pre_fn)(void);
|
||||
|
||||
struct cgit_cmd {
|
||||
const char *name;
|
||||
cgit_cmd_fn fn;
|
||||
cgit_cmd_pre_fn pre;
|
||||
unsigned int want_repo:1,
|
||||
want_layout:1,
|
||||
want_vpath:1,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue