mirror of
https://github.com/facebook/docusaurus.git
synced 2025-05-30 17:37:09 +02:00
Update support for Web App Manifest (#1046)
This commit is contained in:
parent
a39d2b0280
commit
4a7e1ea189
2 changed files with 3 additions and 3 deletions
|
@ -203,7 +203,7 @@ Hostname of your server. Useful if you are using GitHub Enterprise.
|
|||
```
|
||||
|
||||
#### `manifest` [string]
|
||||
Path to your web app manifest (e.g., `/manifest.json`). This will add a `<link>` tag to `<head>` with `rel` as `"manifest"` and `content` as the provided path.
|
||||
Path to your web app manifest (e.g., `manifest.json`). This will add a `<link>` tag to `<head>` with `rel` as `"manifest"` and `href` as the provided path.
|
||||
|
||||
#### `markdownPlugins` [array]
|
||||
An array of plugins to be loaded by Remarkable, the markdown parser and renderer used by Docusaurus. The plugin will receive a reference to the Remarkable instance, allowing custom parsing and rendering rules to be defined.
|
||||
|
@ -352,4 +352,4 @@ const siteConfig = {
|
|||
};
|
||||
|
||||
module.exports = siteConfig;
|
||||
```
|
||||
```
|
|
@ -67,7 +67,7 @@ class Head extends React.Component {
|
|||
<meta httpEquiv="refresh" content={`0; URL=${this.props.redirect}`} />
|
||||
)}
|
||||
{this.props.config.manifest && (
|
||||
<link rel="manifest" content={siteUrl + this.props.config.manifest} />
|
||||
<link rel="manifest" href={siteUrl + this.props.config.manifest} />
|
||||
)}
|
||||
<link
|
||||
rel="shortcut icon"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue