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

What makes author pages generate? #3

Closed
atuttle opened this issue Nov 1, 2015 · 2 comments
Closed

What makes author pages generate? #3

atuttle opened this issue Nov 1, 2015 · 2 comments

Comments

@atuttle
Copy link

atuttle commented Nov 1, 2015

I changed my author name, bio, and username in _config.yml, even restarted jekyll, and my author page doesn't seem to be generated. Am I missing something?

@biomadeira
Copy link
Member

@atuttle Sorry you faced that problem... I need to improve the documentation, because it is not very obvious what the problem is.

Basically Jekyll has some methods implemented for posts, tags and categories and I used the later as a trick to be able to generated the author pages. (See the code ruby gem jekyll_autgenerator.rb in _plugins)

For it to work with your pages simply change the 'categories: your username' in the front matter of every post and it should work fine. As you can see, it currently matches 'casper' which was the username specified in the _config.yml.

(This actually enables you to have multiple authors, but I doubt you need that...)

Let me know if this worked for you :)

@atuttle
Copy link
Author

atuttle commented Nov 2, 2015

What about if I want to show my about content (e.g. about.md -> about.html) on the author page, rather than a list of blog posts (my blog will be single author, so that makes more sense)

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