Skip to content

Commit 4a7e1ea

Browse files
tirthbodawalaJoelMarcey
authored andcommitted
Update support for Web App Manifest (#1046)
1 parent a39d2b0 commit 4a7e1ea

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

docs/api-site-config.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ Hostname of your server. Useful if you are using GitHub Enterprise.
203203
```
204204

205205
#### `manifest` [string]
206-
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.
206+
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.
207207

208208
#### `markdownPlugins` [array]
209209
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 = {
352352
};
353353

354354
module.exports = siteConfig;
355-
```
355+
```

v1/lib/core/Head.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ class Head extends React.Component {
6767
<meta httpEquiv="refresh" content={`0; URL=${this.props.redirect}`} />
6868
)}
6969
{this.props.config.manifest && (
70-
<link rel="manifest" content={siteUrl + this.props.config.manifest} />
70+
<link rel="manifest" href={siteUrl + this.props.config.manifest} />
7171
)}
7272
<link
7373
rel="shortcut icon"

0 commit comments

Comments
 (0)