commit 7b11f549427d4258399ea48511d937a954e4e66c from: Omar Polo date: Fri Sep 23 14:00:01 2022 UTC style commit - 5188543c3ff35312133d7e54598dc0ff4d61b412 commit + 7b11f549427d4258399ea48511d937a954e4e66c blob - 3aa6a0f4ec69961bcd17f13eee211843f2160cab blob + bb9a75cd2a9d1271eb124e86142288adb9c57a47 --- fragments.tmpl +++ fragments.tmpl @@ -33,10 +33,12 @@ {{ define tp_head(struct template *tp, const char *lang, const char *title) }} -{! struct client *clt = tp->tp_arg; !} -{! struct proxy_config *pc = clt->clt_pc; !} -{! const char *stylesheet = pc->stylesheet; !} -{! const char *path = clt->clt_path_info; !} +{! + struct client *clt = tp->tp_arg; + struct proxy_config *pc = clt->clt_pc; + const char *stylesheet = pc->stylesheet; + const char *path = clt->clt_path_info; +!} @@ -60,10 +62,12 @@ {{ end }} {{ define tp_foot(struct template *tp) }} - {! struct client *clt = tp->tp_arg; !} - {! struct proxy_config *pc = clt->clt_pc; !} - {! const char *host = pc->proxy_name; !} - {! const char *path = clt->clt_path_info; !} +{! + struct client *clt = tp->tp_arg; + struct proxy_config *pc = clt->clt_pc; + const char *host = pc->proxy_name; + const char *path = clt->clt_path_info; +!}