Open comnam90 opened 4 years ago
I have no plans, but PRs are always open to everyone.
@Vimux I would like to work on this - just read the contribution guidelines, ok to start on this?
@gooseyman,
OK, but I would like to see design mockups or ideas, to read in a few words what exactly you want to do with this and how.
@Vimux I'm proposing that this:
From the default pages, "Getting Started with Hugo" and "(Hu)go Template Primer" are related by the development tag. The image below shows and example of the Related Posts widget in the sidebar.
should be an additional sidebar widget
It should be section. The original title and description state it clear:
https://github.com/Vimux/Mainroad/issues/193#issue-602625024
Are there any plans to add a related content SECTION to the single page posts? It'd be nice to have JUST ABOVE THE COMMENTS section using the built in hugo related content functionality.
By default, Mainroad sidebar contains widgets directly not connected with the current page content. So, no TOC, no comments, no related content widgets inside sidebar.
default to using "tags" as the basis for relating posts
I do not think that this should be the responsibility of the theme.
I mean I'm not opposed to the idea of it being a side bar instead. I've just found it more common to have it as a section at the end of a post
Understood on #193 (comment) indicating section vs. widget. My proposal was for the widget nonetheless. However, good context on the Mainroad widgets being non-article specific. I agree that it should be a section on the page.
The Wordpress version of theme handles this like so: https://mhthemes.com/demo/?theme=magazine
I do not think that this should be the responsibility of the theme.
I'm not following what you mean. The relation needs to leverage some variables in order to run - what did you have in mind if not using article tags?
My quick thoughts about this section:
The relation needs to leverage some variables in order to run...
I mean, we should use standard configuration by default. Something like this: .Site.RegularPages.Related .
REF: https://gohugo.io/content-management/related/#list-related-content https://gohugo.io/content-management/related/#configure-related-content
This issue is little over 2 years old. Any progress or update on this?
Nothing has changed since then.
Are there any plans to add a related content section to the single page posts? It'd be nice to have just above the comments section using the built in hugo related content functionality.