2018-01-12 00:15:45 +01:00
|
|
|
title: Installing Plugins with a Theme.
|
2017-10-26 00:22:17 +02:00
|
|
|
---
|
|
|
|
sort_key: 40
|
|
|
|
---
|
|
|
|
summary: Explains how a theme could depend or include several plugins.
|
|
|
|
---
|
|
|
|
body:
|
|
|
|
|
2018-01-12 00:15:45 +01:00
|
|
|
!!!! Not implemented yet.
|
2017-10-26 00:22:17 +02:00
|
|
|
|
2022-02-27 18:35:43 +01:00
|
|
|
Themes could depend on [plugins](../../plugins/), and they will be loaded along
|
2017-10-26 00:22:17 +02:00
|
|
|
the theme.
|
|
|
|
|
|
|
|
1. You could use the `[packages]` section of the `theme.ini` to install
|
|
|
|
released packages:
|
|
|
|
```ini
|
|
|
|
[packages]
|
|
|
|
lektor-disqus-comments = 0.2
|
|
|
|
```
|
|
|
|
|
|
|
|
2. Plugins can be added to the `packages/` folder in the theme. Each plugin has
|
|
|
|
to go into a separate folder.
|