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

Added Images to sitemap.xml #675

Closed
wants to merge 4 commits into from

Conversation

derekperkins
Copy link
Contributor

#655 This is dependent on image metadata being standardized as discussed at http://discuss.gohugo.io/t/hugo-seo-social-partials/353/17

@derekperkins
Copy link
Contributor Author

I just added a commit to address issue #653 about excluding pages from the sitemap.

@spf13
Copy link
Contributor

spf13 commented Mar 13, 2015

@derekperkins I know you've been waiting a while on this one. Sorry it took me so long to get to it. It looks real nice. Merged as 3c147bd

@spf13 spf13 closed this Mar 13, 2015
@derekperkins
Copy link
Contributor Author

No problem. There have been plenty of other fish to fry. :)

@anthonyfok anthonyfok added this to the v0.14 milestone Mar 13, 2015
@spf13
Copy link
Contributor

spf13 commented Mar 13, 2015

@derekperkins

Now that this and the other PR have been merged can you add these new standards to the documentation?

We've gotten a bug report #972 about the sitemap being broken, but the problem isn't the template, but that the user had params.images as a string, here you expect it to have sub fields.

We also should probably adjust the template to handle allowing users to just make params.images as a slice of strings.

@bep
Copy link
Member

bep commented Mar 13, 2015

Have a look at the template_embedded.go that uses .Params.images and expects it to be a slice of strings -- so this is not "a user that ...".

I suggest a revert of the above commit -- and do a rethinking and doc job of the complete picture.

@bep bep reopened this Mar 13, 2015
@derekperkins
Copy link
Contributor Author

There was a discussion started about standardizing metadata like images, but no conclusions were ever reached. I think we should make params.images something that we can expect. Somewhere I believe I submitted a PR that added Images as first class citizens to Node objects, or at least I thought about it. It's been a few months since I've done anything with Hugo.

@bep
Copy link
Member

bep commented May 13, 2015

Closing this for now. Open a new one when we figure out what we want.

@bep bep closed this May 13, 2015
@github-actions
Copy link

github-actions bot commented Mar 3, 2022

This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 3, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants