summaryrefslogtreecommitdiffstats
path: root/pages
diff options
context:
space:
mode:
authorclsr <clsr@clsr.net>2016-06-16 06:57:56 +0200
committerclsr <clsr@clsr.net>2016-06-16 06:57:56 +0200
commitb8bc0281a5683f16bfbc52289bf4e9c9c2f15ba4 (patch)
treeebed9a1b154e3fd1914a8bb3a64bbe412d140247 /pages
parent77fb1d63635bb61b26296b742d2d57ea40566884 (diff)
downloadgomf-web-pomf-b8bc0281a5683f16bfbc52289bf4e9c9c2f15ba4.tar.gz
gomf-web-pomf-b8bc0281a5683f16bfbc52289bf4e9c9c2f15ba4.zip
Remove excess whitespace from index.html
Diffstat (limited to 'pages')
-rw-r--r--pages/index.html10
1 files changed, 3 insertions, 7 deletions
diff --git a/pages/index.html b/pages/index.html
index 4509570..3ffe8e4 100644
--- a/pages/index.html
+++ b/pages/index.html
@@ -21,16 +21,14 @@
<input type="submit" value="Submit">
</form>
- {{ with .Result }}
- <ul id="upload-filelist" {{ if or .Files .Description }}class="{{ if .Description }}error {{ else }}completed{{ end }}"{{ end }}>
+ {{ with .Result }}<ul id="upload-filelist" {{ if or .Files .Description }}class="{{ if .Description }}error {{ else }}completed{{ end }}"{{ end }}>
{{ range .Files }}
<li class="file" data-filename="{{ .Name }}">
<span class="file-name">{{ .Name }}</span>
<span class="file-url"><a href="{{ .Url }}" target="_blank">{{ .Url }}</a></span>
</li>
{{ end }}
- </ul>
- {{ end }}
+ </ul>{{ end }}
</div>
@@ -39,9 +37,7 @@
<li><a href="/">{{ .SiteName }}</a></li>
<li><a href="mailto:{{ .Contact }}">Contact</a></li>
<li><a href="mailto:{{ .Abuse }}">Report abuse</a></li>
- {{ range $name, $path := .Pages }}{{ if ne $path "index.html" }}
- <li><a href="{{ $path }}">{{ $name }}</a></li>
- {{ end }}{{ end }}
+ {{ range $name, $path := .Pages }}{{ if ne $path "index.html" }}<li><a href="{{ $path }}">{{ $name }}</a></li>{{ end }}{{ end }}
</ul>
</nav>
</div>