diff options
Diffstat (limited to 'public/docs')
-rw-r--r-- | public/docs/yaml-metadata.md | 35 |
1 files changed, 34 insertions, 1 deletions
diff --git a/public/docs/yaml-metadata.md b/public/docs/yaml-metadata.md index 5fc6e1b8..539410c8 100644 --- a/public/docs/yaml-metadata.md +++ b/public/docs/yaml-metadata.md @@ -18,6 +18,39 @@ YAML metas Replace the "YAML metas" in this section with any YAML options as below. You can also refer to this note's source code. +title +--- +This option will set the note title which prior than content title. + +> default: not set + +**Example** +```xml +title: meta title +``` + +description +--- +This option will set the note description. + +> default: not set + +**Example** +```xml +description: meta description +``` + +tags +--- +This option will set the tags which prior than content tags. + +> default: not set + +**Example** +```xml +tags: features, cool, updated +``` + robots --- This option will give below meta in the note head meta: @@ -26,7 +59,7 @@ This option will give below meta in the note head meta: ``` So you can prevent any search engine index your note by set `noindex, nofollow`. -> default: not +> default: not set **Example** ```xml |