diff --git a/bookmarks.njk b/bookmarks.njk index 41cdae3..41c888e 100644 --- a/bookmarks.njk +++ b/bookmarks.njk @@ -1,34 +1,105 @@ --- layout: layouts/base.njk title: Bookmarks -permalink: /bookmarks/ +withSidebar: true +pagination: + data: collections.bookmarks + size: 20 + alias: paginatedBookmarks +permalink: "bookmarks/{% if pagination.pageNumber > 0 %}page/{{ pagination.pageNumber + 1 }}/{% endif %}" --- -
Links I've saved for later.
-+ Links I've saved for later. + ({{ collections.bookmarks.length }} total) +
-{% if collections.bookmarks.length > 0 %} -+ + + {{ bookmarkedUrl }} + +
+ {% endif %} + {% if post.templateContent %} +No bookmarks yet.
+ {% endif %} +Content I've liked across the web.
-+ Content I've liked across the web. + ({{ collections.likes.length }} total) +
-{% if collections.likes.length > 0 %} -No likes yet.
+ {% endif %} +Photo posts and images.
-+ Photo posts and images. + ({{ collections.photos.length }} total) +
-{% if collections.photos.length > 0 %} -No photos yet.
-{% endif %} + {# Render photo(s) from frontmatter - use eleventy:ignore to skip image transform #} + {% if post.data.photo %} +No photos yet.
+ {% endif %} +My responses to posts across the web.
-+ My responses to posts across the web. + ({{ collections.replies.length }} total) +
-{% if collections.replies.length > 0 %} -- In reply to: - - {{ replyTo }} - -
- {% endif %} -+ In reply to: + + {{ replyTo }} + +
+ {% endif %} +No replies yet.
+ {% endif %} +Content I've shared from others.
-+ Content I've shared from others. + ({{ collections.reposts.length }} total) +
-{% if collections.reposts.length > 0 %} -- Reposted: - - {{ repostedUrl }} - -
- {% endif %} - {% if post.templateContent %} -+ Reposted: + + {{ repostedUrl }} + +
+ {% endif %} + {% if post.templateContent %} +No reposts yet.
+ {% endif %} +