Update support for Web App Manifest (#1046)

This commit is contained in:
Tirth Bodawala 2018-10-17 22:51:10 +05:30 committed by Joel Marcey
parent a39d2b0280
commit 4a7e1ea189
2 changed files with 3 additions and 3 deletions

View file

@ -203,7 +203,7 @@ Hostname of your server. Useful if you are using GitHub Enterprise.
``` ```
#### `manifest` [string] #### `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] #### `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. 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.

View file

@ -67,7 +67,7 @@ class Head extends React.Component {
<meta httpEquiv="refresh" content={`0; URL=${this.props.redirect}`} /> <meta httpEquiv="refresh" content={`0; URL=${this.props.redirect}`} />
)} )}
{this.props.config.manifest && ( {this.props.config.manifest && (
<link rel="manifest" content={siteUrl + this.props.config.manifest} /> <link rel="manifest" href={siteUrl + this.props.config.manifest} />
)} )}
<link <link
rel="shortcut icon" rel="shortcut icon"