mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2024-06-14 11:52:32 +03:00
Added documentation on slug feature for blog pages (#5966)
This commit is contained in:
parent
a1adebac8e
commit
6ffc9f4364
@ -1177,6 +1177,19 @@ linked with their titles.
|
|||||||
[built-in tags plugin]: setting-up-tags.md#built-in-tags-plugin
|
[built-in tags plugin]: setting-up-tags.md#built-in-tags-plugin
|
||||||
[tags index]: setting-up-tags.md#adding-a-tags-index
|
[tags index]: setting-up-tags.md#adding-a-tags-index
|
||||||
|
|
||||||
|
#### Changing the slug
|
||||||
|
|
||||||
|
Slugs are the shortened description of your post used in the URL. They are automatically generated, but you can specify a custom slug for a page:
|
||||||
|
|
||||||
|
``` yaml
|
||||||
|
---
|
||||||
|
slug: hello-world
|
||||||
|
---
|
||||||
|
|
||||||
|
# Hello there world!
|
||||||
|
...
|
||||||
|
```
|
||||||
|
|
||||||
#### Adding related links
|
#### Adding related links
|
||||||
|
|
||||||
[:octicons-heart-fill-24:{ .mdx-heart } Sponsors only][Insiders]{ .mdx-insiders } ·
|
[:octicons-heart-fill-24:{ .mdx-heart } Sponsors only][Insiders]{ .mdx-insiders } ·
|
||||||
|
Loading…
Reference in New Issue
Block a user