Skip to content

Commit

Permalink
Update support for Web App Manifest (#1046)
Browse files Browse the repository at this point in the history
  • Loading branch information
tirthbodawala authored and JoelMarcey committed Oct 17, 2018
1 parent a39d2b0 commit 4a7e1ea
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions docs/api-site-config.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -352,4 +352,4 @@ const siteConfig = {
};

module.exports = siteConfig;
```
```
2 changes: 1 addition & 1 deletion v1/lib/core/Head.js
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 4a7e1ea

Please sign in to comment.