# Custom Layouts for Discourse

**URL:** <https://community.panodata.org/t/custom-layouts-for-discourse/103>\
**Category:** The distributed machine room\
**Tags:** discourse\
**Created:** [December 4, 2019, 5:27am UTC](https://community.panodata.org/t/custom-layouts-for-discourse/103 "2019-12-04T05:27:56Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Andreas.Motl](https://community.panodata.org/user_avatar/community.panodata.org/andreas.motl/32/9_2.png) [@Andreas.Motl](https://community.panodata.org/u/Andreas.Motl)\
**Post date:** [December 4, 2019, 5:27am UTC](https://community.panodata.org/t/custom-layouts-for-discourse/103/1 "2019-12-04T05:27:56Z")

</div>

## About

A Discourse plugin to provide a custom layout infrastructure.

## Features

This plugin features different ways to control the page layout.

- Sidebars
- Sidebar Widgets
- Sidebar Discovery List Elements

## Addons

- [GitHub - angusmcleod/layouts-profile](https://github.com/angusmcleod/layouts-profile)
- ~~[GitHub - jezdean/dl-custom-content: Widget to include arbitrary html for Discourse](https://github.com/jezdean/dl-custom-content)~~  
[GitHub - xavierxxx/custom-html-widget: Widget to include arbitrary html for Discourse](https://github.com/xavierxxx/custom-html-widget)
- [GitHub - Alavi1412/developing-answers](https://github.com/Alavi1412/developing-answers)
- [gist:aa305cc75e2e992f9dc004e9a20f3ff0 · GitHub](https://gist.github.com/Alavi1412/aa305cc75e2e992f9dc004e9a20f3ff0)
- [GitHub - Alavi1412/discourse-map-navigation-widget](https://github.com/Alavi1412/discourse-map-navigation-widget)
- [https://github.com/angusmcleod/discourse-map-navigation-widget](https://github.com/angusmcleod/discourse-map-navigation-widget)

## Resources

> **[Custom Layouts Plugin](https://meta.discourse.org/t/custom-layouts-plugin/55208)**
>
> Repository: GitHub - angusmcleod/discourse-layouts Example screenshot: Superficially, this plugin is similar to existing Discourse sidebar plugins, i.e.: Dynamic Sidebar Plugin Discourse Sidebar Blocks Simple Sidebar Theme Curated Home...

  

> **[angusmcleod/discourse-layouts](https://github.com/angusmcleod/discourse-layouts)**
>
> Contribute to angusmcleod/discourse-layouts development by creating an account on GitHub.

---

<div class="post-metadata">

**Author:** ![Andreas.Motl](https://community.panodata.org/user_avatar/community.panodata.org/andreas.motl/32/9_2.png) [@Andreas.Motl](https://community.panodata.org/u/Andreas.Motl)\
**Post date:** [December 4, 2019, 5:36am UTC](https://community.panodata.org/t/custom-layouts-for-discourse/103/2 "2019-12-04T05:36:40Z")

</div>

## Example 1

 ![image](https://community.panodata.org/uploads/default/original/1X/5e63848b328711cd6fb604c234739fe6d01bdd17.png)  
– [Asia Pacific - Hungry Onion](https://www.hungryonion.org/c/regions/world)

### Thoughts

This might have been made with the map widget of the [Locations Plugin 🌍 - Plugin - Discourse Meta](https://meta.discourse.org/t/locations-plugin/69742) already.

> [@Angus McLeod](#):
>
> The locations plugin has a map component and a map widget that can be inserted anywhere in Discourse.
> 
> – [Locations Plugin 🌍 - #430 - Plugin - Discourse Meta](https://meta.discourse.org/t/locations-plugin/69742/430)

---

<div class="post-metadata">

**Author:** ![Andreas.Motl](https://community.panodata.org/user_avatar/community.panodata.org/andreas.motl/32/9_2.png) [@Andreas.Motl](https://community.panodata.org/u/Andreas.Motl)\
**Post date:** [December 4, 2019, 9:48am UTC](https://community.panodata.org/t/custom-layouts-for-discourse/103/3 "2019-12-04T09:48:57Z")

</div>

## See also

> **[Topic list sidebar navigation](https://meta.discourse.org/t/topic-list-sidebar-navigation/94056)**
>
> ⚠ Because it uses modern CSS features, this component will not work in Internet Explorer (at all) or versions of Edge, Firefox, Safari, or Chrome that were released before May 2017 (version details here). 🔬 Preview it on the theme creator 🔗 ...

  

> **[Discourse Sidebar Blocks](https://meta.discourse.org/t/discourse-sidebar-blocks/51457)**
>
> This plugin shows a list of blocks as a sidebar on all discovery list pages (latest, new, unread, categories but not on the single topic page). The available blocks at this point (Oct. 12 2016) are the following: multiple category posts (6 items...
