mirror of
https://github.com/facebook/docusaurus.git
synced 2025-08-03 16:59:06 +02:00
fix(v2): fix link to logo in footer (#1854)
* fix(v2): fix link to logo * Update CHANGELOG-2.x.md * Update CHANGELOG-2.x.md Co-Authored-By: Endi <endiliey@gmail.com>
This commit is contained in:
parent
1f6db3dd5b
commit
bb6b02c487
2 changed files with 6 additions and 1 deletions
|
@ -6,6 +6,7 @@
|
|||
- Fix `swizzle` command not passing context properly to theme packages.
|
||||
- Add `extendCli` api for plugins. This will allow plugin to further extend Docusaurus CLI.
|
||||
- Fix `swizzle` command not being able to swizzle single js file.
|
||||
- Fix logo URL in footer to be appended with baseUrl automatically.
|
||||
|
||||
## 2.0.0-alpha.27
|
||||
|
||||
|
|
|
@ -69,7 +69,11 @@ function Footer() {
|
|||
<div className="text--center">
|
||||
{logo && logo.src && (
|
||||
<div className="margin-bottom--sm">
|
||||
<img className="footer__logo" alt={logo.alt} src={logo.src} />
|
||||
<img
|
||||
className="footer__logo"
|
||||
alt={logo.alt}
|
||||
src={withBaseUrl(logo.src)}
|
||||
/>
|
||||
</div>
|
||||
)}
|
||||
{copyright}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue