@tansy/theme-blog 0.1.0 → 0.1.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.
package/CHANGELOG.md ADDED
@@ -0,0 +1,13 @@
1
+ # Changelog
2
+
3
+ What changed in each release of `@tansy/theme-blog`. Releases up to 0.1.0 went out with every other package
4
+ on one version and are described in [tansy's changelog](../../CHANGELOG.md).
5
+
6
+ ## 0.1.1 — 2026-11-22
7
+
8
+ Its post page now places the blog plugin's parts itself. From `@tansy/blog` 0.1.2 those parts
9
+ bring no outer margin or border of their own, so this release gives the space and the rule above
10
+ "More posts" and the comments in the theme's own CSS, and the post page looks as before. Use it with
11
+ `@tansy/blog` 0.1.2 or later.
12
+
13
+ Like every package, it now requires `tansy` ^0.1.1.
package/index.js CHANGED
@@ -5,7 +5,7 @@ const options = z.object({ tagline: z.string().max(200).optional(), showDates: z
5
5
  /** The look of a blog: a header with a menu, a home page listing posts, its own post page, and plain pages. Archives come from the blog plugin, which this theme requires, and the post page is built from its parts. */
6
6
  export const blog = ({ tagline, showDates = true } = {}) => defineTheme({
7
7
  name: "blog",
8
- version: "0.1.0",
8
+ version: "0.1.1",
9
9
  apiVersion: 1,
10
10
  render: "@tansy/theme-blog/render",
11
11
  requires: { plugins: ["blog"] },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tansy/theme-blog",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "A blog look for tansy: a header with a menu, posts on the home page, post pages and plain pages.",
5
5
  "keywords": [
6
6
  "tansy",
@@ -28,10 +28,10 @@
28
28
  }
29
29
  },
30
30
  "peerDependencies": {
31
- "@tansy/blog": "^0.1.0",
31
+ "@tansy/blog": "^0.1.1",
32
32
  "next": "^16.4.6",
33
33
  "react": "^19.3.0",
34
- "tansy": "^0.1.0"
34
+ "tansy": "^0.1.1"
35
35
  },
36
36
  "dependencies": {
37
37
  "zod": "^4.6.7"
package/theme.css CHANGED
@@ -137,3 +137,15 @@
137
137
  font-weight: 600;
138
138
  text-decoration: none;
139
139
  }
140
+
141
+ /* Where the blog plugin's parts sit on the theme's post page: the parts bring no outer spacing of their own. */
142
+ :where(.blog-main) .bl-meta { margin-block-end: 1rem; }
143
+ :where(.blog-main) .bl-kicker { margin-block-end: 0.5rem; }
144
+ :where(.blog-main) .bl-list,
145
+ :where(.blog-main) .bl-tags { margin-block-start: 2rem; }
146
+ :where(.blog-main) > .bl-more,
147
+ :where(.blog-main) > .bl-comments {
148
+ margin-block-start: var(--site-space-section);
149
+ padding-block-start: 1.5rem;
150
+ border-block-start: 1px solid var(--site-color-border);
151
+ }