aboutsummaryrefslogtreecommitdiffstats
path: root/internal
diff options
context:
space:
mode:
authorFeuerfuchs <git@feuerfuchs.dev>2020-05-18 20:30:00 +0200
committerFeuerfuchs <git@feuerfuchs.dev>2020-05-18 20:30:00 +0200
commit9dbd09ccccf5dbbd1319557ff0afa589655b5e97 (patch)
treee48f1ff474c8c3950ebc639c9075412dd945c93e /internal
parentFix embedding templates (diff)
downloadgopherproxy-9dbd09ccccf5dbbd1319557ff0afa589655b5e97.tar.gz
gopherproxy-9dbd09ccccf5dbbd1319557ff0afa589655b5e97.tar.bz2
gopherproxy-9dbd09ccccf5dbbd1319557ff0afa589655b5e97.zip
Fix nav error for Gemini
Diffstat (limited to 'internal')
-rw-r--r--internal/port/gemini.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/port/gemini.go b/internal/port/gemini.go
index f67ca05..2695214 100644
--- a/internal/port/gemini.go
+++ b/internal/port/gemini.go
@@ -53,7 +53,7 @@ func urlToGeminiNav(url string) (items []GeminiNavItem) {
53 partialURL = partialURL + "/" + part 53 partialURL = partialURL + "/" + part
54 54
55 current := false 55 current := false
56 if i == len(parts)-1 || (len(parts) == 2 && i == 0) { 56 if i == len(parts)-1 {
57 current = true 57 current = true
58 } 58 }
59 59