Homepage Blocks

:information_source: Summary Build a custom homepage with configurable block components
:hammer_and_wrench: Repository Manuel Kostka / Discourse / Blocks / Homepage Blocks · GitLab
:question: Install Guide How to install a theme or theme component
:open_book: New to Discourse Themes? Beginner’s guide to using Discourse Themes

Install this theme component

This component combines features from Right Sidebar Blocks and the custom homepage route. It initializes the route and allows you to organize content blocks on the homepage, offering flexibility in layout and content presentation.

Below are two example views: the first shows a homepage with basic blocks stacked on top of each other, while the second demonstrates the same layout with custom styles applied:

Editing blocks

You can customize blocks through the component settings. Each block is added by specifying its Ember component name:

After adding a block, you can adjust its properties using available parameters:

Available blocks

You can add any Ember component using its component name. Additionally, I have a collection of blocks available at Blocks · GitLab. These are primarily variations from Right Sidebar Blocks.

For detailed information on each block, like the component name, available parameters and template layout, refer to their README file.

16 Likes

This is really cool, Manuel, good job! :+1:

4 Likes