Skip to content

Commit

Permalink
docs(open_graph): add a og:locale notice
Browse files Browse the repository at this point in the history
  • Loading branch information
SukkaW committed Dec 1, 2019
1 parent 581a427 commit 10d10a4
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions source/docs/helpers.md
Original file line number Diff line number Diff line change
Expand Up @@ -794,6 +794,10 @@ Option | Description | Default
`updated` | Article modified time | `page.updated` if existed
`language` | Article language | `page.lang` or `config.language`

{% note warn %}
`og:locale` tag won't be added if given `language` is not in 'language_TERRITORY' format. [`og:locale` documents](https://ogp.me/#optional).
{% endnote %}

### toc

Parses all heading tags (h1~h6) in the content and inserts a table of contents.
Expand Down

0 comments on commit 10d10a4

Please sign in to comment.