Commit Diff


commit - 20c8292ef915cb1e41f3767a79dd03d13176ee88
commit + 1a52bb7ca6625e1370f1750a65de03368271e644
blob - 5cbfca349df3a2492e6a409d7f2eeb1acabf5ddc
blob + 48635e02627b02f1ac58dbe242aa8df0ffe3adc9
--- fragments.tmpl
+++ fragments.tmpl
@@ -68,9 +68,6 @@
 	struct client *clt = tp->tp_arg;
 	struct proxy_config *pc = clt->clt_pc;
 	const char *path = clt->clt_path_info;
-
-	if (path == NULL)
-		path = "";
 !}
 	{{ if pc }}
 		<footer>
@@ -89,8 +86,7 @@ gemini://{{ pc->proxy_name }}{{ path }}
 </html>
 {{ end }}
 
-{{ define tp_figure(struct template *tp, const char *url,
-    const char *label) }}
+{{ define tp_figure(struct template *tp, const char *url, const char *label) }}
 <figure>
 	<a href="{{ url | urlescape }}">
 		<img src="{{ url | urlescape }}" />