[themes] Explicitly listing the things themes can bring and that they can be overridden.

This commit is contained in:
Joseph Nix 2018-07-16 14:38:58 -05:00
parent 88411f0cd2
commit 37c401b019
2 changed files with 9 additions and 2 deletions

View File

@ -15,4 +15,11 @@ Lektor provides a themes system to easily implement, reuse, and distribute theme
This allows you to use assets, templates, models, and / or flowblocks built into the theme.
Themes are created by the Lektor community.
Lektor themes work like an extension of the project, allowing you to easily adopt features of the theme such as styles, models, or templates.
Lektor themes work like an extension of the project, allowing you to easily adopt features of the theme such as styles, models, or templates. In all, themes can provide:
* templates
* models
* flowblocks
* assets
Themes can provide all of these as defaults which can be overridden or extended by your project. For instance, if a theme provides a root `page.html` template, you can create other templates that `{% extends "page.html" %}`, or you could override the theme's `page.html` by providing your own in your project's normal `templates/` directory.

View File

@ -6,7 +6,7 @@ summary: Explains how to install Lektor themes.
---
body:
For installing a theme you just need to copy it to the `themes/` folder
For installing a theme you just need to copy it to the `themes/` folder. Create the `themes/` folder if it does not already exist.
```
project