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:
parent
e7139cbd85
commit
09a5d66b3e
|
@ -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
|
||||
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
|
||||
|
||||
Jekyll also has built-in support for syntax highlighting of code snippets using
|
||||
|
|
Loading…
Reference in New Issue