{{- /* paginator.html (partial): Renders a paginated list of items as styled cards. Features: - Custom sorting: Pages with 'weight' are prioritized, then all pages are sorted by date (descending). Pagination is applied to this final sorted list. - "New" indicator: Displayed if the item was published within 7 days of the site build. - Metadata: Shows series (if any) and the first category (if any). - Decorative Accent: Displays the first letter of the item's title as a large, stylized background element. Dependency: `partial "pagination.html"` Condition for Display: - This partial is rendered if `paginate = true` is in the calling template's frontmatter, or if `paginate` is not defined (nil) in the current page's frontmatter. - To disable, explicitly set `paginate = false` in the page's frontmatter. Repo: https://github.com/oxypteros/alpha */ -}} {{- /* Enable this paginator if `paginate = true` in the frontmatter or the key is missing in page's that use the list layout. Must explicitly set to false to disable the pagination */}} {{- if or ( eq .Params.paginate true) (eq .Page.Params.paginate nil) }}