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

Support for authors #288

Closed
EdwinFLopez opened this issue Jun 15, 2016 · 5 comments
Closed

Support for authors #288

EdwinFLopez opened this issue Jun 15, 2016 · 5 comments
Labels

Comments

@EdwinFLopez
Copy link

EdwinFLopez commented Jun 15, 2016

Hi. This is more like a question (if can't be achieved, it's a feature request).

We're a team of 3 people and I'd like to see for each one of us, an author profile and a little picture in each one of the post written, pretty much like this theme for bootstrap:

Is it possible to acomplish currently? If so, how can I proceed?.

Thanks a lot.

@manikmagar
Copy link
Member

manikmagar commented Jun 15, 2016

@EdwinFLopez, may be you can register a new custom page type author, define a template for author in jbake.properties template.users.file=author.ftl. Design author.ftl to be author's profile page. On post/index, you can refer the authors defined in content model. (You can use any template language instead of ftl). Give it a try.

http://jbake.org/docs/2.4.0/#page_post_custom

@melix had mentioned similar usage here #78 (comment)

@EdwinFLopez
Copy link
Author

I'll try it. Thank you @manikmagar

@manikmagar
Copy link
Member

You are welcome @EdwinFLopez. If it works, then don't forget to update solution here, it might help someone else looking to do similar thing.

@manikmagar
Copy link
Member

Just saw this bug #283 where custom types are broken in v2.4.0 so keep a check on that while you try.

@jonbullock
Copy link
Member

@EdwinFLopez did you achieve what you wanted to by using a custom content type?

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

No branches or pull requests

3 participants