diff options
Diffstat (limited to 'ui-summary.c')
-rw-r--r-- | ui-summary.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ui-summary.c b/ui-summary.c index 1e9a1b6..227ed27 100644 --- a/ui-summary.c +++ b/ui-summary.c | |||
@@ -62,7 +62,7 @@ void cgit_print_summary() | |||
62 | NULL, NULL, 0, 0); | 62 | NULL, NULL, 0, 0); |
63 | } | 63 | } |
64 | if (ctx.repo->clone_url) | 64 | if (ctx.repo->clone_url) |
65 | print_urls(ctx.repo->clone_url, NULL); | 65 | print_urls(expand_macros(ctx.repo->clone_url), NULL); |
66 | else if (ctx.cfg.clone_prefix) | 66 | else if (ctx.cfg.clone_prefix) |
67 | print_urls(ctx.cfg.clone_prefix, ctx.repo->url); | 67 | print_urls(ctx.cfg.clone_prefix, ctx.repo->url); |
68 | html("</table>"); | 68 | html("</table>"); |
@@ -113,7 +113,7 @@ void cgit_print_repo_readme(char *path) | |||
113 | */ | 113 | */ |
114 | html("<div id='summary'>"); | 114 | html("<div id='summary'>"); |
115 | if (ctx.repo->about_filter) | 115 | if (ctx.repo->about_filter) |
116 | cgit_open_filter(ctx.repo->about_filter, ctx.repo); | 116 | cgit_open_filter(ctx.repo->about_filter); |
117 | if (ref) | 117 | if (ref) |
118 | cgit_print_file(tmp, ref); | 118 | cgit_print_file(tmp, ref); |
119 | else | 119 | else |