diff options
author | Cheng-Han, Wu | 2016-06-21 21:42:03 +0800 |
---|---|---|
committer | Cheng-Han, Wu | 2016-06-21 21:42:03 +0800 |
commit | 558304ff62a648e604b03afe3372ef9566aea850 (patch) | |
tree | f01521782685784508e4e5017d25a9c6b7768d06 /public/docs | |
parent | ad6982e77e1948bd7b74538af0c5a24120a38370 (diff) |
Update to support new metadata: title, description, tags and google-analytics (GA) and refactor render publish slide response function
Diffstat (limited to '')
-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 |