diff options
author | Feuerfuchs <git@feuerfuchs.dev> | 2019-06-26 20:23:29 +0200 |
---|---|---|
committer | Feuerfuchs <git@feuerfuchs.dev> | 2019-06-26 20:23:29 +0200 |
commit | 3f799ca13a894b7e0b716bc43b3174b2f9f35ee4 (patch) | |
tree | 14006f9ddfc2ba98a2049bf7bfd8c25ffd6ad603 /template.go | |
parent | New feature: Clickable links in plain text (opt) (diff) | |
download | gopherproxy-3f799ca13a894b7e0b716bc43b3174b2f9f35ee4.tar.gz gopherproxy-3f799ca13a894b7e0b716bc43b3174b2f9f35ee4.tar.bz2 gopherproxy-3f799ca13a894b7e0b716bc43b3174b2f9f35ee4.zip |
Improved mobile layout
Diffstat (limited to 'template.go')
-rw-r--r-- | template.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/template.go b/template.go index 583a50b..ef02ce0 100644 --- a/template.go +++ b/template.go | |||
@@ -27,7 +27,7 @@ var tpltext = `<!doctype html> | |||
27 | {{- $uriParts = $uriParts | pop -}} | 27 | {{- $uriParts = $uriParts | pop -}} |
28 | {{- end -}} | 28 | {{- end -}} |
29 | 29 | ||
30 | <button class="location__prefix">gopher://</button> | 30 | <button class="location__prefix">gopher://</button><button class="location__prefix location__prefix--mobile">://</button> |
31 | {{- range $i, $part := $uriParts -}} | 31 | {{- range $i, $part := $uriParts -}} |
32 | {{- if ne $i 1 -}} | 32 | {{- if ne $i 1 -}} |
33 | {{- $href = printf "%s/%s" $href . -}} | 33 | {{- $href = printf "%s/%s" $href . -}} |