From 9dbd09ccccf5dbbd1319557ff0afa589655b5e97 Mon Sep 17 00:00:00 2001 From: Feuerfuchs Date: Mon, 18 May 2020 20:30:00 +0200 Subject: Fix nav error for Gemini --- internal/port/gemini.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'internal/port/gemini.go') 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) { partialURL = partialURL + "/" + part current := false - if i == len(parts)-1 || (len(parts) == 2 && i == 0) { + if i == len(parts)-1 { current = true } -- cgit v1.2.3-70-g09d2