Skip to content

Commit 9cb1a66

Browse files
committed
new:page mdxx-0.7
1 parent 21ca438 commit 9cb1a66

1 file changed

Lines changed: 37 additions & 0 deletions

File tree

docs/mdxx-0.7.mdx

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
---
2+
title: mdxx@0.7 tag
3+
created: 1589127481769
4+
---
5+
6+
## 仕様変更
7+
8+
`mdxx-ssg new:page``pages/*.tsx` を生成しないように
9+
10+
かわりに、 `pages/[slug].tsx` が共通の記事要素になりました。
11+
12+
## new feature: tags support
13+
14+
frontmatter の yaml を使って、タグを宣言できるようになりました
15+
16+
```yaml
17+
---
18+
title: my-title
19+
created: 1589127481769
20+
tags: [a, b, c]
21+
---
22+
# hello
23+
```
24+
25+
トップページにタグ一覧が表示されます。
26+
27+
`/tags/[tag]` ページで、そのページに紐付いている記事一覧を出せるようにしました。
28+
29+
tags
30+
31+
![](https://gyazo.com/a9248604c3c553701ca93632dbacd847.png)
32+
33+
## v1.0.0 に向けて
34+
35+
- 画像の拡大が壊れている気がするので、それを修正する
36+
- parser/compiler のリネーム
37+
- そろそろ使えるようになってきた

0 commit comments

Comments
 (0)