You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on May 13, 2024. It is now read-only.
|`/tag/`|`Tag` (fallback to `FrontmatterKey` if not exist) |
265
-
|`/tag/vue/`|`FrontmatterPagination` (fallback to `Layout` if not exist) |
266
-
|`/tag/js/`|`FrontmatterPagination` (fallback to `Layout` if not exist) |
266
+
|`/tag/`|`Tags` (fallback to `FrontmatterKey` if not exist) |
267
+
|`/tag/vue/`|`Tag` (fallback to `FrontmatterPagination` if not exist) |
268
+
|`/tag/js/`|`Tag` (fallback to `FrontmatterPagination` if not exist) |
267
269
268
-
In the `<Tag />` component, you can use [this.$frontmatterKey.list](../client-api/README.md#frontmatterkey) to get the
269
-
tag
270
-
list. The value
270
+
In the `<Tags />` component, you can use [this.$frontmatterKey.list](../client-api/README.md#frontmatterkey) to get the
271
+
tag
272
+
list. The value
271
273
would be like:
272
274
273
275
```json
@@ -290,7 +292,7 @@ would be like:
290
292
]
291
293
```
292
294
293
-
In the `FrontmatterPagination` component, you can use
295
+
In the `FrontmatterPagination` component, you can use
294
296
[this.$pagination.pages](../client-api/README.md#pagination) to get the matched pages in current tag
295
297
classification:
296
298
@@ -318,7 +320,7 @@ classification:
318
320
319
321
## Writing a blog theme
320
322
321
-
If everything is ok, you can start to write a blog theme. Actually, there are only 2 necessary layout components to
323
+
If everything is ok, you can start to write a blog theme. Actually, there are only 2 necessary layout components to
322
324
create a blog theme:
323
325
324
326
- Layout
@@ -329,4 +331,3 @@ Here are two official examples (A simple & a complex) for you:
329
331
330
332
-[70-lines-of-vuepress-blog-theme](https://github.com/ulivz/70-lines-of-vuepress-blog-theme): A VuePress Blog Theme implemented in around 70 lines.
331
333
-[@vuepress/theme-blog](https://github.com/ulivz/vuepress-theme-blog): Default blog theme for VuePress.
0 commit comments