Update post.md with additional info about excerpt

Adds a paragraph noting that use of the liquid `| strip_html` flag is possible and useful for meta tag purposes.
This commit is contained in:
Joel Glovier 2014-01-16 13:18:52 -05:00
parent e7139cbd85
commit 09a5d66b3e
1 changed files with 2 additions and 0 deletions

View File

@ -155,6 +155,8 @@ If you don't like the automatically-generated post excerpt, it can be overridden
`excerpt` to your post's YAML front-matter. Completely disable it by setting `excerpt` to your post's YAML front-matter. Completely disable it by setting
your `excerpt_separator` to `""`. your `excerpt_separator` to `""`.
Also, as with any output generated by Liquid tags, you can pass the `| strip_html` flag to remove any html tags in the output. This is particularly helpful if you wish to output a post excerpt as a `meta="description"` tag within the post `head`.
## Highlighting code snippets ## Highlighting code snippets
Jekyll also has built-in support for syntax highlighting of code snippets using Jekyll also has built-in support for syntax highlighting of code snippets using