@geekity/cms 0.32.0 → 0.32.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (42) hide show
  1. package/dist/admin/federation.d.ts +6 -2
  2. package/dist/admin/federation.d.ts.map +1 -1
  3. package/dist/admin/federation.js +14 -7
  4. package/dist/admin/federation.js.map +1 -1
  5. package/dist/cms/boot.d.ts.map +1 -1
  6. package/dist/cms/boot.js +6 -1
  7. package/dist/cms/boot.js.map +1 -1
  8. package/dist/federation/article.d.ts +5 -11
  9. package/dist/federation/article.d.ts.map +1 -1
  10. package/dist/federation/article.js +46 -16
  11. package/dist/federation/article.js.map +1 -1
  12. package/dist/federation/delivery.d.ts.map +1 -1
  13. package/dist/federation/delivery.js +14 -2
  14. package/dist/federation/delivery.js.map +1 -1
  15. package/dist/federation/federation.js +1 -1
  16. package/dist/federation/federation.js.map +1 -1
  17. package/dist/federation/inbox.d.ts.map +1 -1
  18. package/dist/federation/inbox.js +4 -7
  19. package/dist/federation/inbox.js.map +1 -1
  20. package/dist/federation/index.d.ts +1 -0
  21. package/dist/federation/index.d.ts.map +1 -1
  22. package/dist/federation/index.js +1 -0
  23. package/dist/federation/index.js.map +1 -1
  24. package/dist/federation/object-ids.d.ts +50 -0
  25. package/dist/federation/object-ids.d.ts.map +1 -0
  26. package/dist/federation/object-ids.js +134 -0
  27. package/dist/federation/object-ids.js.map +1 -0
  28. package/dist/store/deliveries.d.ts +2 -0
  29. package/dist/store/deliveries.d.ts.map +1 -1
  30. package/dist/store/deliveries.js +7 -0
  31. package/dist/store/deliveries.js.map +1 -1
  32. package/dist/web/conversation.d.ts.map +1 -1
  33. package/dist/web/conversation.js +46 -27
  34. package/dist/web/conversation.js.map +1 -1
  35. package/dist/web/federation-routes.d.ts.map +1 -1
  36. package/dist/web/federation-routes.js +2 -1
  37. package/dist/web/federation-routes.js.map +1 -1
  38. package/dist/web/render.d.ts.map +1 -1
  39. package/dist/web/render.js +5 -1
  40. package/dist/web/render.js.map +1 -1
  41. package/package.json +1 -1
  42. package/themes/default/partials/post-list.njk +9 -4
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@geekity/cms",
3
- "version": "0.32.0",
3
+ "version": "0.32.1",
4
4
  "type": "module",
5
5
  "description": "A file-first CMS: Markdown content, a SQLite index, a Hono server that is both the editor and the public site.",
6
6
  "license": "MIT",
@@ -9,9 +9,11 @@
9
9
  title, is printed whole as its `e-content`, and its date in the kicker is the
10
10
  link to it. A reply is a note that first cites what it answers, and a reply
11
11
  with a title is an article that cites it after its title and summary; a
12
- like, a repost, a bookmark and a read cite theirs the same way. Tags are deliberately not
13
- here: an entry's tags belong under the entry, and a feed of twenty posts
14
- listing everyone's would be a wall of links rather than a list of writing.
12
+ like, a repost and a bookmark cite theirs the same way. A titled read prints
13
+ its read line under its title, before its summary, as its own page does.
14
+ Tags are deliberately not here: an entry's tags belong under the entry, and
15
+ a feed of twenty posts listing everyone's would be a wall of links rather
16
+ than a list of writing.
15
17
 
16
18
  `feedHeading` is the heading level, which belongs to the layout rather than
17
19
  to the list: a listing is a page of entries and heads each one at 2, and a
@@ -43,10 +45,12 @@
43
45
  {% endif %}
44
46
  {% set citations = post.citations %}
45
47
  {% include "partials/citations.njk" %}
48
+ {% endset %}
49
+ {% set readLine %}
46
50
  {% set read = post.read %}
47
51
  {% include "partials/read.njk" %}
48
52
  {% endset %}
49
- {% if not post.named %}{{ cited | safe }}{% endif %}
53
+ {% if not post.named %}{{ cited | safe }}{{ readLine | safe }}{% endif %}
50
54
  {% set rsvp = post.rsvp %}
51
55
  {% include "partials/rsvp.njk" %}
52
56
  {% if post.photos.length %}
@@ -59,6 +63,7 @@
59
63
  <{{ feedTitleTag }} class="feed-title p-name">
60
64
  <a href="{{ post.url | url }}" class="u-url">{{ post.title }}</a>
61
65
  </{{ feedTitleTag }}>
66
+ {{ readLine | safe }}
62
67
  {% if post.excerpt %}
63
68
  <div class="feed-excerpt p-summary">
64
69
  {#- `truncate` cuts at the last space before the length and adds an