-
-
Notifications
You must be signed in to change notification settings - Fork 9.9k
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
Jekyll author pages support #1919
Comments
The author is just another taxonomy, like tag or category. You can manually create the index page: <!-- /source/author/martin-thoma/index.html -->
---
author: thoma
layout: author
--- and the corresponding layout: <!-- /source/_layouts/author.html -->
<!-- place the loop over author’s posts here --> The |
@penibelst, could you re-post that link to the |
Could I use
? |
@penibelst Looks like a useful filter, thanks! 👍 |
I’m not sure. I think you need one more step:
@benbalter: right? |
Looks right to me. |
@penibelst @benbalter Thanks guys. I'm looking forward to the next jekyll version with |
@MartinThoma A migration from Wordpress could be a chance to learn what really matters. All the category, tag, author, year, month and day archives are not really helpful for readers. Geeks do it because they can. |
Devil's advocate: I guess it's a matter of perspective. For example, I'm building my navigation based on categories; when category clicked, the posts filter based on that category with pagination. As for tags, it's nice to use tags more liberally than cats, but allow them to behave in same way (i.e., click tag and go to posts filtered based on tag). I think being able to find content based on category, tag, author, year, month and day is maybe more helpful to some people than you might think it is. Not only that, but being able to syndicate based on tag/category is pretty nice too. Though, maybe you're right ... Maybe only geeks find that useful. I guess it all depends on who your target audience is. Full disclosure, in terms of blogs/cms', I'm coming from an Expression Engine, WordPress, Textpattern and Django background. I was going to use WP until I discovered Jekyll a few weeks back. |
@mhulse You know how to code. Nice for you. But do you know how to tell stories? This is what people care about. Not stupid listings called Tags and another one Categories. Read the latest article by Mark Boulton The story is the link. |
@penibelst, I'm just saying it's nice to filter content based on tags/categories/author/other. It's funny you link to an article that references newsrooms/journalism. I actually work at the second largest newspaper in Oregon as a web developer. 😄 Me personally, I'm trying to build a portfolio site, so the content will be more visual than text. And no, I'm not a story teller. My goal is to have the ability to click a category, tag or date, and have posts show based on that content. If I had multiple authors, I'd want the ability to click on an author name to view all posts by said author (pagination is a must). IMHO, that's pretty basic blog functionality. Anyway, I'll take the time to read that article in more detail later today. Thanks for link. 👍 Have a nice day! |
@penibelst Tags really matter to me. As @mhulse already pointed out, they are really great to explore the site. When I find a new blog with an interesting article, I look for more articles in the same domain. However, I thought about dropping categories. Although they are semantically different, they seem not to add so much value to the reader. But that should not matter for the site generator. Jekyll should not dictate what elements I use in my site / how I structure it. |
@mhulse, @MartinThoma WIth stories I mean user guidance in general. You can represent every kind of information in a narrative way. This is what preachers and teachers do, they tell stories.
Me too. Everybody does. The question is, how to show the reader what is in the same domain. A tag is a necessary tool, but you don’t need to expose the tag itself to the reader. Jakob Nielsen lists the tag overuse in Top 10 Information Architecture Mistakes:
A short list of related articles after the main article — built on the tag or handcrafted — combined with a different color for visited links will make you a better host. Your visitors will love your pleasing manner. |
@penibelst, I understand what you mean now. Thanks for clarification! Thanks for link to Jakob Nielsen article as well. I actually just signed up for their newsletter a few weeks back. Love it! http://www.nngroup.com/articles/subscribe/ One of my favorite newsletters. |
This will be possible with Collections! Closing. |
I'm also trying to do something like this. This is what I have in my layout and it doesn't work: {% assign author = site.posts | where: "author", "{{ page.author }}" %}
{% for post in author %}
…
{% endfor %} It seems My template looks like this: # src/author/timsmith/index.md
---
layout: author-archive
author: timsmith
--- |
@smithtimmytim Your question is unrelated to this issue. You should open a new issue for your question:+1: |
Well… it's kind of related, but ok 😄 |
Can you elaborate? @parkr |
I would like to have author pages.
On the file system (in the Jekyll root folder with all the source files) I would like to use
On the file system (in the generated
_sites
folder) I would like to getAlso, it would be nice to be able to access the posts generated by the author in a paginated way:
The text was updated successfully, but these errors were encountered: