Browse Source

Remove excess whitespace from index.html

master
clsr 6 years ago
parent
commit
b8bc0281a5
  1. 10
      pages/index.html

10
pages/index.html

@ -21,16 +21,14 @@ @@ -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 @@ @@ -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>

Loading…
Cancel
Save