HugoBlox / hugo-blox-builder

🚨 GROW YOUR AUDIENCE WITH HUGOBLOX! 🚀 HugoBlox is an easy, fast no-code website builder for researchers, entrepreneurs, data scientists, and developers. Build stunning sites in minutes. 适合研究人员、企业家、数据科学家和开发者的简单快速无代码网站构建器。用拖放功能、可定制模板和内置SEO工具快速创建精美网站!
https://hugoblox.com/templates/
MIT License
8.2k stars 2.9k forks source link

Making docs pages appear similarly to blog posts. #1668

Closed data-coder closed 4 years ago

data-coder commented 4 years ago

I changed all my blog posts to type: docs because I need the TOC, sidebar and previous-next buttons. But now I am missing:

It would be cool if we could use image and featured in docs.

Another more radical option, since other people are requesting table of contents for blogs post, would be to just drop docs types and make table of content and previous-next buttons optionally available in blog posts.

gcushen commented 4 years ago

In case you weren't aware, a ToC shortcode already exists which can be used on any page :)

There's definitely room to explore your points more - there are a number of similar issues which touch on some of the points you mentioned.

data-coder commented 4 years ago

Thanks, @gcushen. To show what I'm trying to achieve, I added an image in https://github.com/gcushen/hugo-academic/blob/a05bc974c71f5c196b25330ba402b6438c530efb/layouts/partials/docs_layout.html#L2

Also, please look at the text in the image.

featured_image_doc

stale[bot] commented 4 years ago

This issue has been automatically marked as stale because it has not had any recent activity. The resources of the Academic team are limited, and so we are asking for your help. If this is a bug and you can still reproduce this error on the master branch, please reply with all of the information you have about it in order to keep the issue open. If this is a feature request, and you feel that it is still relevant and valuable, please tell us why. This issue will automatically close soon if no further activity occurs. Thank you for your contributions.