mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2024-11-23 23:21:00 +01:00
Merge branch 'master' of github.com:squidfunk/mkdocs-material
This commit is contained in:
commit
a1c1319528
@ -293,7 +293,7 @@ Use this setting to change the date format of posts. This plugin uses [babel]
|
|||||||
to render dates in the configured [site language]. You can use [babel]'s
|
to render dates in the configured [site language]. You can use [babel]'s
|
||||||
[pattern syntax] or the following shortcodes:
|
[pattern syntax] or the following shortcodes:
|
||||||
|
|
||||||
=== "Monday, January 31, 2023"
|
=== "Monday, January 31, 2024"
|
||||||
|
|
||||||
``` yaml
|
``` yaml
|
||||||
plugins:
|
plugins:
|
||||||
@ -301,7 +301,7 @@ to render dates in the configured [site language]. You can use [babel]'s
|
|||||||
post_date_format: full
|
post_date_format: full
|
||||||
```
|
```
|
||||||
|
|
||||||
=== "January 31, 2023"
|
=== "January 31, 2024"
|
||||||
|
|
||||||
``` yaml
|
``` yaml
|
||||||
plugins:
|
plugins:
|
||||||
@ -309,7 +309,7 @@ to render dates in the configured [site language]. You can use [babel]'s
|
|||||||
post_date_format: long
|
post_date_format: long
|
||||||
```
|
```
|
||||||
|
|
||||||
=== "Jan 31, 2023"
|
=== "Jan 31, 2024"
|
||||||
|
|
||||||
``` yaml
|
``` yaml
|
||||||
plugins:
|
plugins:
|
||||||
@ -317,7 +317,7 @@ to render dates in the configured [site language]. You can use [babel]'s
|
|||||||
post_date_format: medium
|
post_date_format: medium
|
||||||
```
|
```
|
||||||
|
|
||||||
=== "1/31/22"
|
=== "1/31/24"
|
||||||
|
|
||||||
``` yaml
|
``` yaml
|
||||||
plugins:
|
plugins:
|
||||||
@ -343,7 +343,7 @@ Use this setting to change the date format used in post URLs. The format string
|
|||||||
must adhere to [babel]'s [pattern syntax] and should not contain whitespace.
|
must adhere to [babel]'s [pattern syntax] and should not contain whitespace.
|
||||||
Some popular choices:
|
Some popular choices:
|
||||||
|
|
||||||
=== ":material-link: blog/2023/01/31/:material-dots-horizontal:/"
|
=== ":material-link: blog/2024/01/31/:material-dots-horizontal:/"
|
||||||
|
|
||||||
``` yaml
|
``` yaml
|
||||||
plugins:
|
plugins:
|
||||||
@ -351,7 +351,7 @@ Some popular choices:
|
|||||||
post_url_date_format: yyyy/MM/dd
|
post_url_date_format: yyyy/MM/dd
|
||||||
```
|
```
|
||||||
|
|
||||||
=== ":material-link: blog/2023/01/:material-dots-horizontal:/"
|
=== ":material-link: blog/2024/01/:material-dots-horizontal:/"
|
||||||
|
|
||||||
``` yaml
|
``` yaml
|
||||||
plugins:
|
plugins:
|
||||||
@ -359,7 +359,7 @@ Some popular choices:
|
|||||||
post_url_date_format: yyyy/MM
|
post_url_date_format: yyyy/MM
|
||||||
```
|
```
|
||||||
|
|
||||||
=== ":material-link: blog/2023/:material-dots-horizontal:/"
|
=== ":material-link: blog/2024/:material-dots-horizontal:/"
|
||||||
|
|
||||||
``` yaml
|
``` yaml
|
||||||
plugins:
|
plugins:
|
||||||
@ -382,7 +382,7 @@ Use this setting to change the format string that is used when generating post
|
|||||||
URLs. You can freely combine placeholders, and join them with slashes or other
|
URLs. You can freely combine placeholders, and join them with slashes or other
|
||||||
characters:
|
characters:
|
||||||
|
|
||||||
=== ":material-link: blog/2023/:material-dots-horizontal:/"
|
=== ":material-link: blog/2024/:material-dots-horizontal:/"
|
||||||
|
|
||||||
``` yaml
|
``` yaml
|
||||||
plugins:
|
plugins:
|
||||||
@ -669,7 +669,7 @@ plugins:
|
|||||||
Use this setting to change the date format used for archive page titles. The
|
Use this setting to change the date format used for archive page titles. The
|
||||||
format string must adhere to [babel]'s [pattern syntax]. Some popular choices:
|
format string must adhere to [babel]'s [pattern syntax]. Some popular choices:
|
||||||
|
|
||||||
=== "2023"
|
=== "2024"
|
||||||
|
|
||||||
``` yaml
|
``` yaml
|
||||||
plugins:
|
plugins:
|
||||||
@ -677,7 +677,7 @@ format string must adhere to [babel]'s [pattern syntax]. Some popular choices:
|
|||||||
archive_date_format: yyyy
|
archive_date_format: yyyy
|
||||||
```
|
```
|
||||||
|
|
||||||
=== "January 2023"
|
=== "January 2024"
|
||||||
|
|
||||||
``` yaml
|
``` yaml
|
||||||
plugins:
|
plugins:
|
||||||
@ -699,7 +699,7 @@ Use this setting to change the date format used for archive page URLs. The
|
|||||||
format string must adhere to [babel]'s [pattern syntax] and should not contain
|
format string must adhere to [babel]'s [pattern syntax] and should not contain
|
||||||
whitespace. Some popular choices:
|
whitespace. Some popular choices:
|
||||||
|
|
||||||
=== ":material-link: blog/archive/2023/"
|
=== ":material-link: blog/archive/2024/"
|
||||||
|
|
||||||
``` yaml
|
``` yaml
|
||||||
plugins:
|
plugins:
|
||||||
@ -707,7 +707,7 @@ whitespace. Some popular choices:
|
|||||||
archive_url_date_format: yyyy
|
archive_url_date_format: yyyy
|
||||||
```
|
```
|
||||||
|
|
||||||
=== ":material-link: blog/archive/2023/01/"
|
=== ":material-link: blog/archive/2024/01/"
|
||||||
|
|
||||||
``` yaml
|
``` yaml
|
||||||
plugins:
|
plugins:
|
||||||
@ -726,7 +726,7 @@ Use this setting to change the format string that is used when generating
|
|||||||
archive page URLs. You can freely combine placeholders, and join them with
|
archive page URLs. You can freely combine placeholders, and join them with
|
||||||
slashes or other characters:
|
slashes or other characters:
|
||||||
|
|
||||||
=== ":material-link: blog/archive/2023/"
|
=== ":material-link: blog/archive/2024/"
|
||||||
|
|
||||||
``` yaml
|
``` yaml
|
||||||
plugins:
|
plugins:
|
||||||
@ -734,7 +734,7 @@ slashes or other characters:
|
|||||||
archive_url_format: "archive/{date}"
|
archive_url_format: "archive/{date}"
|
||||||
```
|
```
|
||||||
|
|
||||||
=== ":material-link: blog/2023/"
|
=== ":material-link: blog/2024/"
|
||||||
|
|
||||||
``` yaml
|
``` yaml
|
||||||
plugins:
|
plugins:
|
||||||
@ -1516,7 +1516,7 @@ using a slightly different syntax:
|
|||||||
|
|
||||||
``` yaml
|
``` yaml
|
||||||
---
|
---
|
||||||
date: 2023-01-31
|
date: 2024-01-31
|
||||||
---
|
---
|
||||||
|
|
||||||
# Post title
|
# Post title
|
||||||
@ -1528,8 +1528,8 @@ using a slightly different syntax:
|
|||||||
``` yaml
|
``` yaml
|
||||||
---
|
---
|
||||||
date:
|
date:
|
||||||
created: 2023-01-31 # (1)!
|
created: 2024-01-31 # (1)!
|
||||||
updated: 2023-02-01
|
updated: 2024-02-01
|
||||||
---
|
---
|
||||||
|
|
||||||
# Post title
|
# Post title
|
||||||
@ -1543,8 +1543,8 @@ using a slightly different syntax:
|
|||||||
``` yaml
|
``` yaml
|
||||||
---
|
---
|
||||||
date:
|
date:
|
||||||
created: 2023-01-31
|
created: 2024-01-31
|
||||||
my_custom_date: 2023-02-01 # (1)!
|
my_custom_date: 2024-02-01 # (1)!
|
||||||
---
|
---
|
||||||
|
|
||||||
# Post title
|
# Post title
|
||||||
@ -1559,8 +1559,8 @@ using a slightly different syntax:
|
|||||||
|
|
||||||
The following date formats are supported:
|
The following date formats are supported:
|
||||||
|
|
||||||
- `2023-01-31`
|
- `2024-01-31`
|
||||||
- `2023-01-31T12:00:00`
|
- `2024-01-31T12:00:00`
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
|
@ -196,7 +196,7 @@ The following settings are available for logging:
|
|||||||
<!-- md:default `true` -->
|
<!-- md:default `true` -->
|
||||||
|
|
||||||
Use this setting to control whether the plugin should display log messages from
|
Use this setting to control whether the plugin should display log messages from
|
||||||
projects when building your site. While not neing recommended, you can disable
|
projects when building your site. While not being recommended, you can disable
|
||||||
logging with:
|
logging with:
|
||||||
|
|
||||||
``` yaml
|
``` yaml
|
||||||
|
Loading…
Reference in New Issue
Block a user