-
Notifications
You must be signed in to change notification settings - Fork 4
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 multiple authors / multiauthor #22
Comments
@natrius see gohugoio/hugoDocs#2494 (comment). I would propose this approach of taxonomy if @mansoorbarri will accept that. |
this can be a good feature if implemented correctly. I wouldn't go with the method @stoic-hugo mentioned as it would clutter the taxonomy. For now, I want to focus on fixing the issues from the original theme and implementing PRs. However, I will add this in the roadmap. |
It reads to me the version with taconomy in the link mentioned is the 'official' supported or recommended one. Or eventually will be. jmooring seems to be hugo dev and a big contributor in the documentation. |
I am new to the taxonomy method suggested by him. I will need to learn more about it and then we can implement this feature. As of now, this is in our roadmap. |
i tried implementing the suggested method however, that only works for single pages. for example, you can have a page like /authors/{author_name} which would show a page with author's information. this will not change the authorbox which is currently being used. my idea to implement multiple authors is that we use the author in authors:
- name: "Author One"
avatar: "/favicon.svg"
bio: "Author One is a seasoned writer with expertise in technology."
- name: "Author Two"
avatar: "/favicon.svg"
bio: "Author Two is a creative thinker specializing in design." generating this: CC: @natrius @stoic-hugo |
Have you downloaded the example from the github link mentioned in gohugoio/hugoDocs#2494 (comment) ? Because i get some four posts and when opening a post the author is shown above with a link to the author like And i think thats perfectly fine? I mean, the "first site author" and "first page author" could be scrapped in my opinion, but besides that it looks nice? Clicking on "John Doe" opens the john doe site and links their publications and so on. Inside the frontmatter its just
I think that sounds like an really good solutions and is easy expendable. I think the frontmatter in the page itself should probably expanded with "nickname" because i know some will just put there a nickname :D |
just a quick recap before I attempt to fix this:
am I on the same page? |
Thats at least why i think would be good for a multi-user-support. And if i click on the author-name i get information about the author and their articles. Additionally could be, if a nickname or a username is set in frontmatter that does not exist in |
I don't have any multi-author sites. So, I don't have any dog in this fight. I will leave this to you and others to choose the best way forward. |
fixed in d669a98 |
I want to import from a blog where multiple authors have written posts and i also want to keep that information as well as keep it in future.
Ideally without external requisites. A simple field in frontmatter like
author: someName
could be enough already.As an idea, this https://codingnconcepts.com/hugo/multiple-authors-hugo/ sounds nice, with authors that can be filled beforehand and a default for when the author is not provided.
https://moonbooth.com/hugo/authors/ this seems also to be an example, but its one year older.
This example kinda seems to work, but its 7 years old now, not sure if that should get more attention :D
The text was updated successfully, but these errors were encountered: