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

get author from sitemetadata #19

Open
swyxio opened this issue Aug 31, 2019 · 3 comments
Open

get author from sitemetadata #19

swyxio opened this issue Aug 31, 2019 · 3 comments

Comments

@swyxio
Copy link

swyxio commented Aug 31, 2019

i have author in my sitemetadata, not in my frontmatter.. would you be open to pulling data for that?

@AriTheElk
Copy link
Member

Yeah I'd definitely be open to that :) Sorry for the delayed response, I haven't worked on this plugin in a bit. I could probably add that in sometime this week. If you'd like to open a PR yourself, I'd definitely merge it. Just LMK, if I don't hear anything I'll work on it next chance I get

@AriTheElk
Copy link
Member

I was thinking about this a bit more since commenting, and I think I have an idea of how this would best work. The author should be pulled from sitemetadata first and then if an author is passed in the frontmatter it will override the author in sitemetadata for that single post.

Let me know if there's any issues with approaching it this way.

@swyxio
Copy link
Author

swyxio commented Nov 28, 2019

not really. i also moved away from this :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants