From 06adc7f3dd094d61e623a7ee6e81c145fa682651 Mon Sep 17 00:00:00 2001 From: Bryce Kwon Date: Sun, 6 Sep 2026 14:29:37 -1000 Subject: Rename the inconsistent config keys noplainemail enable-plain-email noheader enable-header cache-root-ttl cache-index-ttl cache-repo-ttl cache-summary-ttl cache-scanrc-ttl cache-scan-ttl agefile age-file renamelimit rename-limit extra-head-content head-content --- source/ui-shared.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'source/ui-shared.c') diff --git a/source/ui-shared.c b/source/ui-shared.c index 74b5be0..eb81aac 100644 --- a/source/ui-shared.c +++ b/source/ui-shared.c @@ -1566,8 +1566,8 @@ void cgit_print_docstart(void) cgit_add_clone_urls(print_rel_vcs_link); if (ctx.cfg.head_include) html_include(ctx.cfg.head_include); - if (ctx.repo && ctx.repo->extra_head_content) - html(ctx.repo->extra_head_content); + if (ctx.repo && ctx.repo->head_content) + html(ctx.repo->head_content); html("\n"); html("\n"); if (ctx.cfg.header) @@ -1726,7 +1726,7 @@ void cgit_print_pageheader(void) const struct object_id *pinned; html("
\n"); - if (!ctx.env.authenticated || !ctx.cfg.noheader) + if (!ctx.env.authenticated || ctx.cfg.enable_header) print_header(); if (ctx.env.authenticated) -- cgit v2.8.0