mirror of
https://github.com/facebook/docusaurus.git
synced 2025-06-10 14:52:29 +02:00
Add support for Web App Manifest in siteConfig (#934)
* Add support for Web App Manifest in siteConfig * Update api-site-config.md * Update api-site-config.md
This commit is contained in:
parent
f1daddb5f9
commit
2cbfeffd81
2 changed files with 5 additions and 0 deletions
|
@ -66,6 +66,9 @@ class Head extends React.Component {
|
|||
{this.props.redirect && (
|
||||
<meta httpEquiv="refresh" content={`0; URL=${this.props.redirect}`} />
|
||||
)}
|
||||
{this.props.config.manifest && (
|
||||
<link rel="manifest" content={siteUrl + this.props.config.manifest} />
|
||||
)}
|
||||
<link
|
||||
rel="shortcut icon"
|
||||
href={this.props.config.baseUrl + this.props.config.favicon}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue