Remove extraneous whitespace
Committed d5f8f2
--- a/webint_code/templates/project/index.html
+++ b/webint_code/templates/project/index.html
<small>
$if plugins:
$if webapps := plugins.pop("webapps", None):
- webapps (
+ webapps (\
$for webapp, webapp_callable in webapps.items():
$ webapp_path = webapp_callable.replace(".", "/").replace(":", "#")
<a href="/projects/$project/api/$webapp_path">$webapp</a>\
$if not loop.last:
, \
- )
+ )
$if websites := plugins.pop("websites", None):
- websites (
- $for webapp, webapp_callable in websites.items():
- $ webapp_path = webapp_callable.replace(".", "/").replace(":", "#")
- <a href="/projects/$project/api/$webapp_path">$webapp</a>\
+ websites (\
+ $for website, website_callable in websites.items():
+ $ website_path = website_callable.replace(".", "/").replace(":", "#")
+ <a href="/projects/$project/api/$website_path">$website</a>\
$if not loop.last:
, \
)
$if scripts:
- scripts (
+ scripts (\
$for script, script_callable in scripts.items():
$ script_path = script_callable.replace(".", "/").replace(":", "#")
<a href="/projects/$project/api/$script_path">$script</a>\
$if not loop.last:
, \
- )
+ )
$if plugins or scripts:
</small></small></p>