mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2024-06-14 11:52:32 +03:00
Merge branch 'master' of github.com:squidfunk/mkdocs-material
This commit is contained in:
commit
cca090bebb
@ -240,7 +240,7 @@ Create a new file called `hello-world.md` and add the following lines:
|
|||||||
``` yaml
|
``` yaml
|
||||||
---
|
---
|
||||||
draft: true # (1)!
|
draft: true # (1)!
|
||||||
date: 2023-01-31 # (2)!
|
date: 2024-01-31 # (2)!
|
||||||
categories:
|
categories:
|
||||||
- Hello
|
- Hello
|
||||||
- World
|
- World
|
||||||
@ -329,7 +329,7 @@ each post, as well as in post excerpts on index pages:
|
|||||||
|
|
||||||
``` yaml
|
``` yaml
|
||||||
---
|
---
|
||||||
date: 2023-01-31
|
date: 2024-01-31
|
||||||
authors:
|
authors:
|
||||||
- squidfunk
|
- squidfunk
|
||||||
...
|
...
|
||||||
@ -375,7 +375,7 @@ add them to the front matter `categories` property:
|
|||||||
|
|
||||||
``` yaml
|
``` yaml
|
||||||
---
|
---
|
||||||
date: 2023-01-31
|
date: 2024-01-31
|
||||||
categories:
|
categories:
|
||||||
- Hello
|
- Hello
|
||||||
- World
|
- World
|
||||||
@ -401,7 +401,7 @@ part of a post, the post is linked from the [tags index]:
|
|||||||
|
|
||||||
``` yaml
|
``` yaml
|
||||||
---
|
---
|
||||||
date: 2023-01-31
|
date: 2024-01-31
|
||||||
tags:
|
tags:
|
||||||
- Foo
|
- Foo
|
||||||
- Bar
|
- Bar
|
||||||
@ -444,7 +444,7 @@ to add related links to a post:
|
|||||||
|
|
||||||
``` yaml
|
``` yaml
|
||||||
---
|
---
|
||||||
date: 2023-01-31
|
date: 2024-01-31
|
||||||
links:
|
links:
|
||||||
- plugins/search.md
|
- plugins/search.md
|
||||||
- insiders/index.md#how-to-become-a-sponsor
|
- insiders/index.md#how-to-become-a-sponsor
|
||||||
@ -460,7 +460,7 @@ links and even use nesting:
|
|||||||
|
|
||||||
``` yaml
|
``` yaml
|
||||||
---
|
---
|
||||||
date: 2023-01-31
|
date: 2024-01-31
|
||||||
links:
|
links:
|
||||||
- plugins/search.md
|
- plugins/search.md
|
||||||
- insiders/index.md#how-to-become-a-sponsor
|
- insiders/index.md#how-to-become-a-sponsor
|
||||||
@ -520,7 +520,7 @@ post:
|
|||||||
|
|
||||||
``` yaml
|
``` yaml
|
||||||
---
|
---
|
||||||
date: 2023-01-31
|
date: 2024-01-31
|
||||||
readtime: 15
|
readtime: 15
|
||||||
---
|
---
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user