313 lines
8.4 KiB
HTML
313 lines
8.4 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<meta http-equiv="X-UA-Compatible" content="ie=edge">
|
|
<link rel="stylesheet" href="../../../static/styles.css?h=dff0aaad">
|
|
<link rel="stylesheet" href="../../../static/pygments.css">
|
|
<link rel="shortcut icon" href="../../../static/favicon.png?h=fa09bedd">
|
|
<title>Templates | Lektor Static Content Management System</title>
|
|
</head>
|
|
<body class="default">
|
|
<nav class="navbar navbar-inverse navbar-static-top">
|
|
<div class="container">
|
|
<div class="navbar-header">
|
|
<button type="button" class="navbar-toggle collapsed"
|
|
data-toggle="collapse" data-target="#navbar"
|
|
aria-expanded="false" aria-controls="navbar">
|
|
<span class="sr-only">Toggle navigation</span>
|
|
<span class="icon-bar"></span>
|
|
<span class="icon-bar"></span>
|
|
<span class="icon-bar"></span>
|
|
</button>
|
|
<a class="navbar-brand" href="../../../">Lektor</a>
|
|
</div>
|
|
<div id="navbar" class="collapse navbar-collapse">
|
|
<ul class="nav navbar-nav">
|
|
|
|
<li><a href="../../../downloads/">Download</a></li>
|
|
|
|
<li><a href="../../../docs/">Documentation</a></li>
|
|
|
|
<li><a href="../../../showcase/">Showcase</a></li>
|
|
|
|
<li><a href="../../">Plugins</a></li>
|
|
|
|
<li><a href="../../../community/">Community</a></li>
|
|
|
|
<li><a href="../../../blog/">Blog</a></li>
|
|
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
</nav>
|
|
|
|
<div class="body-wrapper">
|
|
|
|
|
|
|
|
<div class="page-banner page-banner-300" style="background-image: url(../../header.jpg)"></div>
|
|
|
|
|
|
<div class="container">
|
|
|
|
<h1>Templates</h1>
|
|
|
|
|
|
|
|
<div class="container">
|
|
<div class="row">
|
|
<div class="col-md-12">
|
|
|
|
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
<div class="container">
|
|
<div class="row">
|
|
<div class="col-md-12">
|
|
<div class="text-block text-block-default">
|
|
<p>These plugins primarily deal with Lektor's <a href="/docs/templates/" class="ref">Templates</a>. They may add or modify <a href="/docs/templates/#template-context" class="ref">context</a>, <a href="/docs/api/templates/" class="ref">api</a>, <a href="/docs/api/templates/filters/" class="ref">filters</a>, <a href="/docs/api/templates/globals/" class="ref">globals</a>, <a href="/docs/templates/imageops/" class="ref">modify images</a>, <a href="/docs/templates/navigation/" class="ref">change navigation</a>, or many other functionalities available to templates.</p>
|
|
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
<ul>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<li><a href="../../lektor-atom/">* atom</a>: Lektor plugin that generates Atom feeds.</li>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<li><a href="../../lektor-disqus-comments/">* disqus-comments</a>: Embed Disqus comments into your website.</li>
|
|
|
|
|
|
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<li><a href="../../lektor-creative-commons/">creative-commons</a>: Lektor plugin to add Creative Commons license to your pages</li>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<li><a href="../../lektor-github-repos/">github-repos</a>: Fetches your GitHub repos for display in Lektor templates</li>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<li><a href="../../lektor-google-analytics/">google-analytics</a>: Adds support for Google analytics to Lektor CMS</li>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<li><a href="../../lektor-google-search/">google-search</a>: Lektor plugin to add google seach to a website</li>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<li><a href="../../lektor-image-resize/">image-resize</a>: Generate JPG and WEBP Images and Thumbnails in predefined sizes.</li>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<li><a href="../../lektor-markdown-excerpt/">markdown-excerpt</a>: Adds filter for Markdown body excerpt.</li>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<li><a href="../../lektor-natural-language/">natural-language</a>: Adds NLTK based template filters.</li>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<li><a href="../../lektor-root-relative-path/">root-relative-path</a>: Root relative path plugin for Lektor</li>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<li><a href="../../lektor-shortcodes/">shortcodes</a>: Allows you to use shortcodes (something like tags) in your model fields.</li>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<li><a href="../../lektor-slugify/">slugify</a>: Lektor plugin that adds a slugify Jinja filter.</li>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<li><a href="../../lektor-strip-html-tags/">strip-html-tags</a>: Strip HTML tags, effectively turning HTML into plain text.</li>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<li><a href="../../lektor-tawk/">tawk</a>: Embed Tawk Live Chat into your website.</li>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<li><a href="../../lektor-thumbnail-generator/">thumbnail-generator</a>: This plugin automatically generates thumbnails for any images in your Lektor content. The difference between this plugin and the `thumbnail` filter is that this is geared towards content, i.e. you don't need to have any references to the images in your templates at all.</li>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<li><a href="../../lektor-webdav/">webdav</a>: Lektor plugin to get a list of files from a WebDAV server</li>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<li><a href="../../lektor-yandex-metrica/">yandex-metrica</a>: Adds support for Yandex Metrica to Lektor CMS</li>
|
|
|
|
|
|
</ul>
|
|
|
|
|
|
</div>
|
|
|
|
|
|
</div>
|
|
|
|
|
|
<div class="bottomsummary">
|
|
<div class="container">
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
<footer>
|
|
<div class="container">
|
|
<div class="row">
|
|
<div class="col-sm-4 icon-bar">
|
|
<a href="https://github.com/lektor/lektor/" title="Lektor on GitHub"
|
|
><i class="fa fa-github"></i></a>
|
|
<a href="https://github.com/lektor/lektor/issues/" title="Report Issues for Lektor"
|
|
><i class="fa fa-bug"></i></a>
|
|
<a href="https://twitter.com/getlektor" title="Find Lektor on Twitter"
|
|
><i class="fa fa-twitter"></i></a>
|
|
<a href="https://gitter.im/lektor/lektor" title="Chat on Gitter"
|
|
><i class="fa fa-comment"></i></a>
|
|
<a href="https://github.com/lektor/lektor-website/tree/master/content/plugin-categories/templates/contents.lr" title="View source for this page"><i class="fa fa-code"></i></a>
|
|
</div>
|
|
<div class="col-sm-8">
|
|
<a href="../../../license/">License & Copyright</a> •
|
|
<a href="../../../contact/">Contact</a> •
|
|
Made with <i class="fa fa-fw fa-heart" title="Heart"><span hidden>Heart</span></i> in Carinthia
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</footer>
|
|
|
|
|
|
<script type=text/javascript src="../../../static/app.js?h=ee15141e" charset="utf-8"></script>
|
|
<script>
|
|
((window.gitter = {}).chat = {}).options = {
|
|
room: 'lektor/lektor',
|
|
activationElement: null
|
|
};
|
|
document.write('<button class="js-gitter-toggle-chat-button">Toggle Chat</button>');
|
|
var dnt = navigator.doNotTrack || window.doNotTrack || navigator.msDoNotTrack;
|
|
if (dnt != "1" && dnt != "yes") {
|
|
window.ga=window.ga||function(){(ga.q=ga.q||[]).push(arguments)};ga.l=+new Date;
|
|
ga('create', 'UA-70822533-1', 'auto');
|
|
ga('set', 'anonymizeIp', true);
|
|
ga('send', 'pageview');
|
|
} else {
|
|
console.debug("Respecting Do-Not-Track, not running analytics.");
|
|
}
|
|
</script>
|
|
<script async src='https://www.google-analytics.com/analytics.js'></script>
|
|
<script async defer id="github-bjs" src="https://buttons.github.io/buttons.js"></script>
|
|
<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+'://platform.twitter.com/widgets.js';fjs.parentNode.insertBefore(js,fjs);}}(document, 'script', 'twitter-wjs');</script>
|
|
<script src="https://sidecar.gitter.im/dist/sidecar.v1.js" async defer></script>
|
|
</body>
|
|
</html>
|