hugo/docs
Mathias Biilmann 2989c38245 tpl: Add truncate template function
This commit adds a truncate template function for safely truncating text without
breaking words. The truncate function is HTML aware, so if the input text is a
template.HTML it will be truncated without leaving broken or unclosed HTML tags.

    {{ "this is a very long text" | truncate 10 " ..." }}
    {{ "With [Markdown](/markdown) inside." | markdownify | truncate 10 }}
2017-01-06 10:42:32 +01:00
..
archetypes
content tpl: Add truncate template function 2017-01-06 10:42:32 +01:00
data
layouts docs: Vanity-update of site meta description 2017-01-05 01:40:00 +01:00
static docs: Add heimatverein-niederjosbach.de to the showcase 2017-01-02 15:51:05 +01:00
.gitignore
config.toml docs: Don't use binary version in docs site 2017-01-02 14:08:36 +01:00