mirror of
https://github.com/lektor/lektor-website.git
synced 2025-01-31 14:31:29 +01:00
23 lines
513 B
Plaintext
23 lines
513 B
Plaintext
|
title: Installing plugins with a theme.
|
||
|
---
|
||
|
sort_key: 40
|
||
|
---
|
||
|
summary: Explains how a theme could depend or include several plugins.
|
||
|
---
|
||
|
body:
|
||
|
|
||
|
!!!! Not implemeted yet.
|
||
|
|
||
|
Themes could depend on [plugins](../../plugins), and they will be loaded along
|
||
|
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.
|