@riebeckite/plugin-taxonomy 0.0.15 → 0.0.16

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.
package/README.md CHANGED
@@ -104,6 +104,8 @@ Folder terms get the same files under `/folders/<path>/…`. Feed channels carry
104
104
  their own term title and self link, so a tag subscription is distinguishable
105
105
  from the site-wide feeds owned by `@riebeckite/plugin-seo`. Only published,
106
106
  non-`noindex` entries reach the manifest's public view and therefore the feeds.
107
+ RSS and Atom term feeds expose entry summaries. JSON term feeds use the same
108
+ summary as `content_text` and do not duplicate rendered article HTML.
107
109
 
108
110
  ## Related tags
109
111
 
@@ -185,4 +187,3 @@ import "@riebeckite/plugin-taxonomy/style.css";
185
187
 
186
188
  - [Plugin guide](../../../docs/en/docs/reference/plugin-api.md)
187
189
  - [Content system](../../../docs/en/docs/framework/content-system.md)
188
-
package/README_ja.md CHANGED
@@ -104,6 +104,8 @@ GET /taxonomy/index.json
104
104
  語ごとのタイトルと self link を持つため、タグの購読と
105
105
  `@riebeckite/plugin-seo` が持つサイト全体のフィードを区別できます。公開かつ
106
106
  `noindex` でないエントリだけがマニフェストの公開ビューに入り、フィードへ届きます。
107
+ 語ごとの RSS と Atom はエントリの要約を出します。語ごとの JSON Feed は同じ要約を
108
+ `content_text` として出し、描画済みの記事 HTML は複製しません。
107
109
 
108
110
  ## 関連タグ
109
111
 
@@ -185,4 +187,3 @@ import "@riebeckite/plugin-taxonomy/style.css";
185
187
 
186
188
  - [プラグインガイド](../../../docs/ja/docs/reference/plugin-api.md)
187
189
  - [コンテンツシステム](../../../docs/ja/docs/framework/content-system.md)
188
-
package/dist/index.js CHANGED
@@ -285,7 +285,7 @@ function renderJson(config, term, entries, title) {
285
285
  id: url,
286
286
  url,
287
287
  title: entry.title,
288
- content_html: entry.html,
288
+ content_text: getDescription(entry),
289
289
  summary: getDescription(entry),
290
290
  date_published: getPublishedTime(entry) ?? void 0,
291
291
  date_modified: getUpdatedTime(entry) ?? void 0,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@riebeckite/plugin-taxonomy",
3
- "version": "0.0.15",
3
+ "version": "0.0.16",
4
4
  "license": "Apache-2.0",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -15,7 +15,7 @@
15
15
  "./style.css": "./style.css"
16
16
  },
17
17
  "dependencies": {
18
- "@riebeckite/core": "0.0.15"
18
+ "@riebeckite/core": "0.0.16"
19
19
  },
20
20
  "devDependencies": {
21
21
  "tsx": "^4.22.4"
package/style.css CHANGED
@@ -99,9 +99,3 @@
99
99
  border-color: var(--rr-taxonomy-accent);
100
100
  color: var(--rr-taxonomy-accent);
101
101
  }
102
-
103
- html[data-theme="dark"] .rr-taxonomy,
104
- html.dark .rr-taxonomy {
105
- --rr-taxonomy-ink: var(--rb-color-paper, #ffffff);
106
- --rr-taxonomy-muted: var(--rb-color-muted, #a8a29a);
107
- }