Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(feed): add missing slash for image url #365

Merged
merged 1 commit into from
Jan 12, 2018

Conversation

ikatyang
Copy link
Contributor

Motivation

(https://docusaurus.io/blog/feed.xml)

-<url>https://docusaurus.ioimg/docusaurus.svg</url>
+<url>https://docusaurus.io/img/docusaurus.svg</url>

Test Plan

See generated feed.xml and atom.xml.

Related PRs

none

@facebook-github-bot facebook-github-bot added the CLA Signed Signed Facebook CLA label Dec 29, 2017
@JoelMarcey
Copy link
Contributor

@ikatyang Hi! Nice catch. Thank you.

@@ -17,7 +17,7 @@ const siteConfig = require(CWD + '/siteConfig.js');

const blogFolder = path.resolve('../blog/');
const blogRootURL = siteConfig.url + '/blog';
const jestImage = siteConfig.url + siteConfig.headerIcon;
const jestImage = siteConfig.url + '/' + siteConfig.headerIcon;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I probably should change the name of this sometime from jestImage to docusaurusImage or something :)

@JoelMarcey JoelMarcey merged commit ba99660 into facebook:master Jan 12, 2018
@ikatyang ikatyang deleted the fix/feed-image-url branch January 12, 2018 01:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed Signed Facebook CLA
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants