|
|
@@ -51,6 +51,11 @@ func (h *handler) showTagEntryPage(w http.ResponseWriter, r *http.Request) {
|
|
|
entry.Status = model.EntryStatusRead
|
|
|
}
|
|
|
|
|
|
+ if user.AlwaysOpenExternalLinks {
|
|
|
+ response.HTMLRedirect(w, r, entry.URL)
|
|
|
+ return
|
|
|
+ }
|
|
|
+
|
|
|
prevEntry, nextEntry, err := h.store.NewEntryPaginationBuilder(user.ID, entry.ID, user.EntryOrder, user.EntryDirection).
|
|
|
WithTags([]string{tagName}).
|
|
|
Entries()
|