-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
00a98be
commit d8ad97a
Showing
2 changed files
with
33 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
--- | ||
hide_title: true | ||
hide_table_of_contents: true | ||
title: Noodl.SEO | ||
--- | ||
|
||
# Noodl.SEO | ||
|
||
The **Noodl.SEO** API lets you change metatags and document titles without directly accessing the window object, this is required for server-side rendering where we don't have a window. | ||
|
||
:::info | ||
|
||
All of this is only available on the frontend. | ||
|
||
::: | ||
|
||
### Reference | ||
|
||
#### **`Noodl.SEO.setTitle(value)`** | ||
This function updates the window title. | ||
|
||
#### **`Noodl.SEO.meta`** | ||
Get all the metatags that is currently used. | ||
|
||
#### **`Noodl.SEO.clearMeta()`** | ||
Clear all the metatags that currently exist. | ||
|
||
#### **`Noodl.SEO.getMeta(key)`** | ||
Get a specific metatag by key. | ||
|
||
#### **`Noodl.SEO.setMeta(key, value)`** | ||
Set a metatag with key and value. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters