Back to V2

{{ .category.Title }} ({{ .total }})

internal/template/templates/views/category_entries.html

2.2.19727 B
Original Source

{{ define "title"}}{{ .category.Title }} ({{ .total }}){{ end }} {{ define "page_header"}}

{{ .category.Title }} ({{ .total }})

{{ if .showOnlyUnreadEntries }} {{ plural "page.unread_entry_count" .total .total }} {{ else }} {{ plural "page.total_entry_count" .total .total }} {{ end }} {{ end }} {{ define "content"}} {{ if not .entries }}

{{ t "alert.no_category_entry" }}

{{ else }} {{ template "pagination" .pagination }}

{{ range .entries }} {{ template "item_meta" dict "user" $.user "entry" . "hasSaveEntry" $.hasSaveEntry }} {{ end }} {{ if .entries }}

  • {{ icon "mark-page-as-read" }}{{ t "menu.mark_page_as_read" }}

{{ end }} {{ template "pagination" .pagination }} {{ end }} {{ end }}