Octopress - markbirbeck/adapter-filters GitHub Wiki
Octopress builds on the Jekyll filters, and adds a few of its own.
Filter | Description | Provided by adapter |
---|---|---|
category_link | Outputs a single category as an <a> link. |
|
category_links | Outputs a list of categories as comma-separated <a> links. This is used to output the category list for each post on a category page. |
|
cdata_escape | ||
condense_spaces | Condenses multiple spaces and tabs into a single space. | condenseSpaces |
excerpt | ||
expand_urls | Replaces relative urls with full urls. | replace |
has_excerpt | ||
raw_content | Extracts raw content DIV from template, used for page description as {{ content }} contains complete sub-template code on main page level. |
extract |
shorthand_url | Returns a url without the protocol (http://). | extract |
strip_slash | Removes trailing forward slash from a string for easily appending url segments. | extract |
summary | ||
titlecase | Returns a title cased string based on John Gruber's title case http://daringfireball.net/2008/08/title_case_update | titlecase |
truncate | ||
truncatewords |