diff options
-rw-r--r-- | internal/port/gemini.go | 2 |
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 | ||