mirror of
https://github.com/facebook/docusaurus.git
synced 2025-06-14 08:42:31 +02:00
chore(v2): make site algolia compliant (#1384)
This commit is contained in:
parent
745f32b010
commit
60c24ef1f9
3 changed files with 10 additions and 6 deletions
|
@ -49,10 +49,14 @@ function DocBody(props) {
|
|||
<div className="container margin-vert--lg">
|
||||
<div className="row">
|
||||
<div className="col col--8">
|
||||
<header>
|
||||
<h1 className="margin-bottom--lg">{metadata.title}</h1>
|
||||
</header>
|
||||
<article>
|
||||
<div className="markdown">
|
||||
<DocContents />
|
||||
</div>
|
||||
</article>
|
||||
<div className="margin-vert--lg">
|
||||
<DocsPaginator />
|
||||
</div>
|
||||
|
|
|
@ -86,7 +86,7 @@ function Post(props) {
|
|||
return (
|
||||
<div>
|
||||
{renderPostHeader()}
|
||||
{children}
|
||||
<article>{children}</article>
|
||||
{truncated && (
|
||||
<div className="text--right">
|
||||
<Link className="button button--secondary" to={metadata.permalink}>
|
||||
|
|
|
@ -11,7 +11,7 @@ module.exports = {
|
|||
organizationName: 'facebook',
|
||||
projectName: 'docusaurus',
|
||||
baseUrl: '/',
|
||||
url: 'https://docusaurus.io',
|
||||
url: 'https://docusaurus-2.netlify.com',
|
||||
headerLinks: [
|
||||
{doc: 'installation', label: 'Docs'},
|
||||
{page: 'youtube', label: 'Youtube'},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue