<li><ahref="packages/">Installing Plugins with a Theme.</a>
</ul>
<li><ahref="../guides/">Guides</a>
<li><ahref="../deployment/">Deployment</a>
<li><ahref="../plugins/">Plugins</a>
<li><ahref="../models/">Data Modelling</a>
<li><ahref="../cli/">Command Line</a>
<li><ahref="../api/">API</a>
<li><ahref="../search/">Search</a>
</ul>
</div>
<divclass="col-sm-9 doc-styling">
<h1>Themes</h1>
<ulclass=page-meta>
</ul>
<divclass="admonition admonition-warning"><p>Lektor theme support is new. It should be considered
unstable and could change in the future.</p></div><divclass="admonition admonition-info"><p><em>New in Lektor Version 3.1:</em> Themes did not exist in earlier Lektor versions.</p></div><p>Lektor provides a themes system to easily implement, reuse, and distribute themes.
This allows you to use assets, templates, models, and / or flowblocks built into the theme.
Themes are created by the Lektor community.</p>
<p>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:</p>
<ul>
<li>templates</li>
<li>models</li>
<li>flowblocks</li>
<li>assets</li>
</ul>
<p>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 <code>page.html</code> template, you can create other templates that <code>{% extends "page.html" %}</code>, or you could override the theme's <code>page.html</code> by providing your own in your project's normal <code>templates/</code> directory.</p>
<divclass="child-pages nocontent">
<divclass="row">
<divclass="col-md-6 child">
<h4>
<iclass="glyphicon glyphicon-list-alt"></i>
<ahref="installing/">Installing a Theme</a>
</h4>
<pclass="summary">Explains how to install Lektor themes.</p>
</div>
<divclass="col-md-6 child">
<h4>
<iclass="glyphicon glyphicon-list-alt"></i>
<ahref="customizing/">Customizing a Theme</a>
</h4>
<pclass="summary">Explains how models, templates, or assets could be overridden.</p>
</div>
</div>
<divclass="row">
<divclass="col-md-6 child">
<h4>
<iclass="glyphicon glyphicon-list-alt"></i>
<ahref="creating/">Creating a Theme</a>
</h4>
<pclass="summary">Explains themes structure and theme.ini file.</p>
</div>
<divclass="col-md-6 child">
<h4>
<iclass="glyphicon glyphicon-list-alt"></i>
<ahref="packages/">Installing Plugins with a Theme.</a>
</h4>
<pclass="summary">Explains how a theme could depend or include several plugins.</p>
Please enable JavaScript to view the <ahref="https://disqus.com/?ref_noscript"
rel="nofollow">comments powered by Disqus.</a>
</noscript>
</div>
</div>
</div>
</div>
</div>
<divclass="bottomsummary">
<divclass="container">
</div>
</div>
<footer>
<divclass="container">
<divclass="row">
<divclass="col-sm-4 icon-bar">
<ahref="https://github.com/lektor/lektor/"title="Lektor on GitHub"
><iclass="fa fa-github"></i></a>
<ahref="https://github.com/lektor/lektor/issues/"title="Report Issues for Lektor"
><iclass="fa fa-bug"></i></a>
<ahref="https://twitter.com/getlektor"title="Find Lektor on Twitter"
><iclass="fa fa-twitter"></i></a>
<ahref="https://gitter.im/lektor/lektor"title="Chat on Gitter"
><iclass="fa fa-comment"></i></a>
<ahref="https://github.com/lektor/lektor-website/tree/master/content/docs/themes/contents.lr"title="View source for this page"><iclass="fa fa-code"></i></a>
</div>
<divclass="col-sm-8">
<ahref="../../license/">License & Copyright</a> •
<ahref="../../contact/">Contact</a> •
Made with <iclass="fa fa-fw fa-heart"title="Heart"><spanhidden>Heart</span></i> in Carinthia