beautifulhugo icon indicating copy to clipboard operation
beautifulhugo copied to clipboard

[Feature Request] Add support for series

Open rootkea opened this issue 7 years ago • 2 comments

Hello!

I'd like to be able to tag the front matter with a series attribute that will link related posts together and display that nicely in the post itself. An example of this is the Medium engineering growth series.

The elements of it are:

  • a series URL
  • a series metadata: title, URL, photo, and introduction and table of contents at the top of the post
  • an epilogue with previews of the other articles in the series

Design inspiration for this (shows a sidebar, but I'd like it to be an epilogue instead; Medium actually does put this at the bottom when the screen is narrow). medium

rootkea avatar Mar 21 '19 14:03 rootkea

I came across the theme AllinOne which tries to implement series.

This is how series are displayed on the homepage: home

This is a docker series page: series

It's far from what I'd like to see but maybe this will help start discussion. :-)

PS - sorry, Go noob here. So can't help with the PR. :-(

rootkea avatar Mar 21 '19 14:03 rootkea

Hi ! I implemented series in the templates on my blog that uses beautiful hugo. See https://github.com/cyplo/blog/blob/master/layouts/_default/single.html for the post layout referencing series and then the list pages here - https://github.com/cyplo/blog/blob/master/layouts/partials/series-list.html

Hope this helps :) Let me know if you'd need anything

cyplo avatar Sep 28 '19 08:09 cyplo