<li><p><aclass="github-button"href="https://github.com/terminal-labs/lektor-slugify"data-icon="octicon-star"data-size="large"data-show-count="true"aria-label="Star lektor-slugify on GitHub"target="_blank">Star</a></p></li>
<p>This is a Lektor plugin that provides a simple template filter that transforms a (unicode) string into a slug.</p>
<p>Usage: <code>{{ var|slug }}</code></p>
<p>Advanced usage: The <code>|slug</code> filter can also accept keyword arguements that are passed to python-slugify. That means you have the option of doing, for example, <code>{{ var|slug(lowercase=False) }}</code> to preserve case sensitivity.</p>
<p>This is a simple use of the Python package <ahref="https://github.com/un33k/python-slugify"rel="nofollow">python-slugify</a>.</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>
</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/plugins/lektor-slugify/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