diff options
author | Jason A. Donenfeld | 2018-02-12 23:10:06 +0100 |
---|---|---|
committer | Jason A. Donenfeld | 2018-07-03 20:37:00 +0200 |
commit | b522a302c9c4fb9fd9e1ea829ee990afc74980ca (patch) | |
tree | b1815354f08c1a16fb9d9c6d15dbe51bc3accbfd /shared.c | |
parent | c4fbb99cee30fa295e240b429b2dc7e8ad83d535 (diff) | |
download | cgit-b522a302c9c4fb9fd9e1ea829ee990afc74980ca.tar.gz cgit-b522a302c9c4fb9fd9e1ea829ee990afc74980ca.tar.bz2 cgit-b522a302c9c4fb9fd9e1ea829ee990afc74980ca.zip |
extra-head-content: introduce another option for meta tags
This is to support things like go-import meta tags, which are on a
per-repo basis.
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'shared.c')
-rw-r--r-- | shared.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -53,6 +53,7 @@ struct cgit_repo *cgit_add_repo(const char *url) | |||
53 | ret->name = ret->url; | 53 | ret->name = ret->url; |
54 | ret->path = NULL; | 54 | ret->path = NULL; |
55 | ret->desc = cgit_default_repo_desc; | 55 | ret->desc = cgit_default_repo_desc; |
56 | ret->extra_head_content = NULL; | ||
56 | ret->owner = NULL; | 57 | ret->owner = NULL; |
57 | ret->homepage = NULL; | 58 | ret->homepage = NULL; |
58 | ret->section = ctx.cfg.section; | 59 | ret->section = ctx.cfg.section; |