Skip to content

Commit

Permalink
fix: pass right parameters to category and feed
Browse files Browse the repository at this point in the history
  • Loading branch information
cljoly committed Apr 8, 2023
1 parent ef83a10 commit ebf1ce9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions gemtext/templates/entry.gmi
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
=> /entry?{{ .Params }} No Prev, stay here
{{- end }}
=> /entry?{{ .Next }} » Next
=> /entry?{{ .Params "entryID" (.Feed.Category.ID | printf "%v") }} 📁 {{ .Feed.Category.Title }}
=> /entry?{{ .Params "feedID" (.Feed.ID | printf "%v") }} 🔖 {{ .Feed.Title }}
=> /entry?categoryID={{ (.Feed.Category.ID | printf "%v") }} 📁 {{ .Feed.Category.Title }}
=> /entry?feedID={{ (.Feed.ID | printf "%v") }} 🔖 {{ .Feed.Title }}
=> {{ .URL }} Original page
{{- with .CommentsURL }}
=> {{ . }} Comments
Expand Down

0 comments on commit ebf1ce9

Please sign in to comment.