From 37c401b019a6f6177f2e57f81bf3efe5573d1a24 Mon Sep 17 00:00:00 2001 From: Joseph Nix Date: Mon, 16 Jul 2018 14:38:58 -0500 Subject: [PATCH] [themes] Explicitly listing the things themes can bring and that they can be overridden. --- content/docs/themes/contents.lr | 9 ++++++++- content/docs/themes/installing/contents.lr | 2 +- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/content/docs/themes/contents.lr b/content/docs/themes/contents.lr index fe66b347..54c8b6d6 100644 --- a/content/docs/themes/contents.lr +++ b/content/docs/themes/contents.lr @@ -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. diff --git a/content/docs/themes/installing/contents.lr b/content/docs/themes/installing/contents.lr index 3eb103cc..71d91146 100644 --- a/content/docs/themes/installing/contents.lr +++ b/content/docs/themes/installing/contents.lr @@ -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